[Neo-report] r2537 vincent - /trunk/neo/tests/functional/__init__.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Dec 14 16:57:08 CET 2010


Author: vincent
Date: Tue Dec 14 16:57:08 2010
New Revision: 2537

Log:
Exit with error status when an exception occurred.

Modified:
    trunk/neo/tests/functional/__init__.py

Modified: trunk/neo/tests/functional/__init__.py
==============================================================================
--- trunk/neo/tests/functional/__init__.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/__init__.py [iso-8859-1] Tue Dec 14 16:57:08 2010
@@ -82,7 +82,7 @@ class NEOProcess(object):
             # If we reach this line, exec call failed (is it possible to reach
             # it without going through above "except" branch ?).
             print 'Error executing %r.' % (command + ' ' + ' '.join(args), )
-            self._exit()
+            self._exit(-1)
 
     def _exit(self):
 	# KeyboardInterrupt is not intercepted by test runner (it is still




More information about the Neo-report mailing list