Commits

Armin Rigo  committed d210e91

Test fix

  • Participants
  • Parent commits 1241202

Comments (0)

Files changed (2)

File testrunner/runner.py

                 msg = "Killed by %s." % getsignalname(-exitcode)
             extralog = "! %s\n %s\n" % (test, msg)
         else:
-            extralog = " somefailed=True in %s\n" % (test,)
+            extralog = "  (somefailed=True in %s)\n" % (test,)
     else:
         failure = False
     return failure, extralog

File testrunner/test/test_runner.py

 
         failure, extralog = runner.interpret_exitcode(1, "test_foo", "F Foo\n")
         assert failure
-        assert extralog == ""
+        assert extralog == "  (somefailed=True in test_foo)\n"
 
         failure, extralog = runner.interpret_exitcode(2, "test_foo")
         assert failure