summaryrefslogtreecommitdiffstats
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 21759c6786..d6ea5ce685 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -109,6 +109,9 @@ def parse_args(argv):
109 help="Output directory for test results") 109 help="Output directory for test results")
110 parser.add_argument('--run-tests', nargs='+', metavar='TEST', 110 parser.add_argument('--run-tests', nargs='+', metavar='TEST',
111 help="List of tests to run") 111 help="List of tests to run")
112 parser.add_argument('--commit-results', metavar='GIT_DIR',
113 type=os.path.abspath,
114 help="Commit result data to a (local) git repository")
112 115
113 return parser.parse_args(argv) 116 return parser.parse_args(argv)
114 117
@@ -158,6 +161,8 @@ def main(argv=None):
158 if result.wasSuccessful(): 161 if result.wasSuccessful():
159 if args.globalres_file: 162 if args.globalres_file:
160 result.update_globalres_file(args.globalres_file) 163 result.update_globalres_file(args.globalres_file)
164 if args.commit_results:
165 result.git_commit_results(args.commit_results)
161 return 0 166 return 0
162 167
163 return 1 168 return 1