]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-build-perf-test: return 2 if some tests failed
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 30 Sep 2016 10:06:06 +0000 (13:06 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Sep 2016 16:14:13 +0000 (17:14 +0100)
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).

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/oe-build-perf-test

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