Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r68339:1241202d156d
Date: 2013-11-29 10:49 +0100
http://bitbucket.org/pypy/pypy/changeset/1241202d156d/

Log:    Try to report where a sys.exit(1) comes from

diff --git a/testrunner/runner.py b/testrunner/runner.py
--- a/testrunner/runner.py
+++ b/testrunner/runner.py
@@ -159,6 +159,8 @@
             else:
                 msg = "Killed by %s." % getsignalname(-exitcode)
             extralog = "! %s\n %s\n" % (test, msg)
+        else:
+            extralog = " somefailed=True in %s\n" % (test,)
     else:
         failure = False
     return failure, extralog
@@ -261,7 +263,8 @@
         done += 1
         failure = failure or somefailed
 
-        heading = "__ %s [%d done in total] " % (testname, done)
+        heading = "__ %s [%d done in total, somefailed=%s] " % (
+            testname, done, somefailed)
         
         out.write(heading + (79-len(heading))*'_'+'\n')
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to