[Checkins] SVN: zope.testrunner/trunk/setup.py Let's make sure tox/detox can detect when tests fail.
Marius Gedminas
cvs-admin at zope.org
Fri Feb 8 07:00:30 UTC 2013
Log message for revision 129203:
Let's make sure tox/detox can detect when tests fail.
Ouch.
Changed:
U zope.testrunner/trunk/setup.py
-=-
Modified: zope.testrunner/trunk/setup.py
===================================================================
--- zope.testrunner/trunk/setup.py 2013-02-08 00:00:57 UTC (rev 129202)
+++ zope.testrunner/trunk/setup.py 2013-02-08 07:00:28 UTC (rev 129203)
@@ -118,8 +118,9 @@
import subprocess
process = subprocess.Popen([sys.executable, filename])
- process.wait()
+ rc = process.wait()
os.unlink(filename)
+ sys.exit(rc)
chapters = '\n'.join([
open(os.path.join('src', 'zope', 'testrunner', name)).read()
More information about the checkins
mailing list