]> code.ossystems Code Review - openembedded-core.git/commit
oeqa.buildperf: store measurements as a dict (object) in the JSON report
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 19 Jan 2017 10:16:45 +0000 (12:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:04:00 +0000 (12:04 +0000)
commit81065092f38c9631dcf5917d70a25809a21de5f4
tree1b08c8d42e77286d319b7bba4e5544914c8b3af4
parent75e8aec0e0d81888be47b35c3c84df73edb91868
oeqa.buildperf: store measurements as a dict (object) in the JSON report

Store measurements as a dict, instead of an array, in the JSON report.
This change makes traversing of the report much easier. The change also
disallows identically named measurements under one test, as a sanity
check for the test cases.

[YOCTO #10590]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/buildperf/base.py