mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
oe-build-perf-test: implement --globalres-file option
Using this option the script appends test results into a 'global results file'. A CSV-formatted output of the results. This option is to provide compatibility with the old build-perf-test.sh. (From OE-Core rev: e9f18e63220e452f2b0c878998e57d944ae83980) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8c596369dd
commit
eb36f00002
@@ -70,6 +70,8 @@ def parse_args(argv):
|
||||
|
||||
parser.add_argument('-D', '--debug', action='store_true',
|
||||
help='Enable debug level logging')
|
||||
parser.add_argument('--globalres-file',
|
||||
help="Append results to 'globalres' csv file")
|
||||
|
||||
return parser.parse_args(argv)
|
||||
|
||||
@@ -94,6 +96,9 @@ def main(argv=None):
|
||||
# Run actual tests
|
||||
runner = BuildPerfTestRunner(out_dir)
|
||||
ret = runner.run_tests()
|
||||
if not ret:
|
||||
if args.globalres_file:
|
||||
runner.update_globalres_file(args.globalres_file)
|
||||
|
||||
return ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user