summaryrefslogtreecommitdiffstats
path: root/scripts/oe-build-perf-test
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-26 07:33:11 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 08:58:41 (GMT)
commite16f00862f463f90943c08aaedc32896885b7a47 (patch)
treea43896fa2573c4b8fd90bbbc1a68e783d6fdf455 /scripts/oe-build-perf-test
parent899b17413c79fe51992a837fc23d289e97a74004 (diff)
downloadpoky-e16f00862f463f90943c08aaedc32896885b7a47.tar.gz
oe-build-perf-test: update globalres and git even if tests failed
Write globalres log file and commit results to Git even if some tests failed. Now that tests do not depend on each other there should be no risk of bogus results caused by test failures. (From OE-Core rev: 8036975b268fe209476e230555006facd3cbda71) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-build-perf-test')
-rwxr-xr-xscripts/oe-build-perf-test12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index 35a4839..3dab070 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -191,13 +191,13 @@ def main(argv=None):
191 # Restore logger output to stderr 191 # Restore logger output to stderr
192 log.handlers[0].setLevel(log.level) 192 log.handlers[0].setLevel(log.level)
193 193
194 if args.globalres_file:
195 result.update_globalres_file(args.globalres_file)
196 if args.commit_results:
197 result.git_commit_results(args.commit_results,
198 args.commit_results_branch,
199 args.commit_results_tag)
194 if result.wasSuccessful(): 200 if result.wasSuccessful():
195 if args.globalres_file:
196 result.update_globalres_file(args.globalres_file)
197 if args.commit_results:
198 result.git_commit_results(args.commit_results,
199 args.commit_results_branch,
200 args.commit_results_tag)
201 return 0 201 return 0
202 202
203 return 1 203 return 1