aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/oe-build-perf-test
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/oe-build-perf-test')
-rwxr-xr-xscripts/oe-build-perf-test5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index ca90f69e1e8..9dd073cdfb4 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -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