aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-08-26 10:33:11 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-31 08:56:49 +0100
commit00fcaec3a1d5a05d66bb6e30eb2a1ff6f831b82b (patch)
tree980e7c1398046648836d128a03742aa6a9b8ea81
parentcb9afce8a7020108813dc7565249e681e5a6fae4 (diff)
downloadopenembedded-core-contrib-00fcaec3a1d5a05d66bb6e30eb2a1ff6f831b82b.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. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 35a4839d4d..3dab070edc 100755
--- a/scripts/oe-build-perf-test
+++ b/scripts/oe-build-perf-test
@@ -191,13 +191,13 @@ def main(argv=None):
# Restore logger output to stderr
log.handlers[0].setLevel(log.level)
+ if args.globalres_file:
+ result.update_globalres_file(args.globalres_file)
+ if args.commit_results:
+ result.git_commit_results(args.commit_results,
+ args.commit_results_branch,
+ args.commit_results_tag)
if result.wasSuccessful():
- if args.globalres_file:
- result.update_globalres_file(args.globalres_file)
- if args.commit_results:
- result.git_commit_results(args.commit_results,
- args.commit_results_branch,
- args.commit_results_tag)
return 0
return 1