diff options
Diffstat (limited to 'scripts/oe-build-perf-test')
-rwxr-xr-x | scripts/oe-build-perf-test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test index ca90f69e1e..9dd073cdfb 100755 --- a/scripts/oe-build-perf-test +++ b/scripts/oe-build-perf-test | |||
@@ -70,6 +70,8 @@ def parse_args(argv): | |||
70 | 70 | ||
71 | parser.add_argument('-D', '--debug', action='store_true', | 71 | parser.add_argument('-D', '--debug', action='store_true', |
72 | help='Enable debug level logging') | 72 | help='Enable debug level logging') |
73 | parser.add_argument('--globalres-file', | ||
74 | help="Append results to 'globalres' csv file") | ||
73 | 75 | ||
74 | return parser.parse_args(argv) | 76 | return parser.parse_args(argv) |
75 | 77 | ||
@@ -94,6 +96,9 @@ def main(argv=None): | |||
94 | # Run actual tests | 96 | # Run actual tests |
95 | runner = BuildPerfTestRunner(out_dir) | 97 | runner = BuildPerfTestRunner(out_dir) |
96 | ret = runner.run_tests() | 98 | ret = runner.run_tests() |
99 | if not ret: | ||
100 | if args.globalres_file: | ||
101 | runner.update_globalres_file(args.globalres_file) | ||
97 | 102 | ||
98 | return ret | 103 | return ret |
99 | 104 | ||