summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-03-24 16:17:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-27 08:15:06 +0100
commit7132f540419af42e09acdd00a1fa62a44408d68d (patch)
treebbe6154afe1adebbb576873331511631e105623e /scripts
parent867c2dcbd76b7cfadf03e5237b19d5cbd892dd0d (diff)
downloadpoky-7132f540419af42e09acdd00a1fa62a44408d68d.tar.gz
oe-build-perf-test: pack all buildstat in one file
Write out all buildstats into one big json file, instead of using multiple per-measurement files. Individual buildstats will be indexed using "<test_name>.<measurement_name>" as the key. Also, changes the per-testcase working directories into temporary directories that will be removed after test execution as there are no more per-testcase data files to store permanently. [YOCTO #10582] (From OE-Core rev: a7f2e8915db379021f3409ca640de5d3b054a830) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-build-perf-test1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index 8950c32004..669470fa97 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -209,6 +209,7 @@ def main(argv=None):
209 result.write_results_xml() 209 result.write_results_xml()
210 else: 210 else:
211 result.write_results_json() 211 result.write_results_json()
212 result.write_buildstats_json()
212 if args.globalres_file: 213 if args.globalres_file:
213 update_globalres_file(result, args.globalres_file, metadata) 214 update_globalres_file(result, args.globalres_file, metadata)
214 if result.wasSuccessful(): 215 if result.wasSuccessful():