# HG changeset patch # User Simon Heimberg # Date 1392275859 -3600 # Node ID 38444739a69f92c7b4017dd5bd5a9bcd9c66331f # Parent a46c9fea6c73ff6d483e774c853bc6a5a8503f6e 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". diff -r a46c9fea6c73 -r 38444739a69f tests/run-tests.py --- 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, '')]