From: Markus Lehtonen Date: Fri, 30 Sep 2016 10:06:06 +0000 (+0300) Subject: oe-build-perf-test: return 2 if some tests failed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4e6ff3be32f0d922b399588498a7beaf39c86d7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test index bb5c382d263..638e195efb7 100755 --- a/scripts/oe-build-perf-test +++ b/scripts/oe-build-perf-test @@ -203,7 +203,7 @@ def main(argv=None): if result.wasSuccessful(): return 0 - return 1 + return 2 if __name__ == '__main__':