diff options
author | 2013-11-29 10:55:46 +0100 | |
---|---|---|
committer | 2013-11-29 10:55:46 +0100 | |
commit | 65a791049c8231af023db55a9e3033dea2052006 (patch) | |
tree | 5bc47308d05d1923f00ceea7df7ef9bd2a113fc2 /testrunner | |
parent | Try to report where a sys.exit(1) comes from (diff) | |
download | pypy-65a791049c8231af023db55a9e3033dea2052006.tar.gz pypy-65a791049c8231af023db55a9e3033dea2052006.tar.bz2 pypy-65a791049c8231af023db55a9e3033dea2052006.zip |
Test fix
Diffstat (limited to 'testrunner')
-rw-r--r-- | testrunner/runner.py | 2 | ||||
-rw-r--r-- | testrunner/test/test_runner.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testrunner/runner.py b/testrunner/runner.py index 405aa1dff8..d7a6848ec7 100644 --- a/testrunner/runner.py +++ b/testrunner/runner.py @@ -160,7 +160,7 @@ def interpret_exitcode(exitcode, test, logdata=""): 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 diff --git a/testrunner/test/test_runner.py b/testrunner/test/test_runner.py index 3f75e53aea..d8d3da9998 100644 --- a/testrunner/test/test_runner.py +++ b/testrunner/test/test_runner.py @@ -171,7 +171,7 @@ class TestExecuteTest(object): 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 |