[oe-commits] [openembedded-core] 25/30: oe-build-perf-test: return 2 if some tests failed

git at git.openembedded.org git at git.openembedded.org
Fri Sep 30 16:16:30 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 194e95f3f068456f30c0e971eb8e6e775279427c
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Fri Sep 30 13:06:06 2016 +0300

    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).
    
    Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/oe-build-perf-test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-build-perf-test b/scripts/oe-build-perf-test
index bb5c382..638e195 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__':

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list