changeset 20507:38444739a69f

run-tests: separate exit code when no failed tests but warned ones This can be used by buildbot to set the result "warnings" instead of "failed".
author Simon Heimberg <simohe@besonet.ch>
date Thu, 13 Feb 2014 08:17:39 +0100
parents a46c9fea6c73
children 91d4f82c2d3b
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Thu Feb 13 08:14:54 2014 +0100
+++ b/tests/run-tests.py	Thu Feb 13 08:17:39 2014 +0100
@@ -1167,6 +1167,8 @@
 
     if failed:
         return 1
+    if warned:
+        return 80
 
 testtypes = [('.py', pytest, '.out'),
              ('.t', tsttest, '')]