[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH 1/2] oe-build-perf-test: return 2 if some tests failed
From:       Markus Lehtonen <markus.lehtonen () linux ! intel ! com>
Date:       2016-09-30 10:06:06
Message-ID: 1475229967-12685-2-git-send-email-markus.lehtonen () linux ! intel ! com
[Download RAW message or body]

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>
---
 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__':
-- 
2.6.6

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic