[Checkins] SVN: z3c.recipe.compattest/trunk/ Runner: set the exit code to 1 in case of failures
Fabio Tranchitella
kobold at kobold.it
Mon Aug 17 09:23:21 EDT 2009
Log message for revision 102891:
Runner: set the exit code to 1 in case of failures
Changed:
U z3c.recipe.compattest/trunk/CHANGES.txt
U z3c.recipe.compattest/trunk/setup.py
U z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py
-=-
Modified: z3c.recipe.compattest/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.compattest/trunk/CHANGES.txt 2009-08-17 13:20:18 UTC (rev 102890)
+++ z3c.recipe.compattest/trunk/CHANGES.txt 2009-08-17 13:23:21 UTC (rev 102891)
@@ -2,6 +2,13 @@
CHANGES
=======
+0.9 (unreleased)
+================
+
+- Runner: set the exit code to 1 in case of failures, needed to simplify
+ buildbot and shell scripts.
+
+
0.8 (2009-08-17)
================
Modified: z3c.recipe.compattest/trunk/setup.py
===================================================================
--- z3c.recipe.compattest/trunk/setup.py 2009-08-17 13:20:18 UTC (rev 102890)
+++ z3c.recipe.compattest/trunk/setup.py 2009-08-17 13:23:21 UTC (rev 102891)
@@ -1,4 +1,4 @@
-version = '0.8.0'
+version = '0.9.0dev'
import os
from setuptools import setup, find_packages
Modified: z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py
===================================================================
--- z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py 2009-08-17 13:20:18 UTC (rev 102890)
+++ z3c.recipe.compattest/trunk/src/z3c/recipe/compattest/runner.py 2009-08-17 13:23:21 UTC (rev 102891)
@@ -113,3 +113,7 @@
pass
else:
pickle.dump(stats, stat_file)
+
+ # exit code
+ if failures:
+ sys.exit(1)
More information about the Checkins
mailing list