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>
This commit is contained in:
parent
899b17413c
commit
e16f00862f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue