oe-build-perf-test: return 2 if some tests failed

Add a new return value '2' that indicates that some tests failed but
there were no fatal errors (i.e. configuration mistakes or bugs in the
tests themselves).

(From OE-Core rev: 194e95f3f068456f30c0e971eb8e6e775279427c)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Markus Lehtonen 2016-09-30 13:06:06 +03:00 committed by Richard Purdie
parent debb7bb86f
commit e4e6ff3be3
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ def main(argv=None):
if result.wasSuccessful():
return 0
return 1
return 2
if __name__ == '__main__':