summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-10-19 15:26:16 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-10-19 15:26:16 (GMT)
commit2714460ac0126908782dde4f3afd27e5ce5dccd4 (patch)
tree67dc1d5f4fed195de636331b0e433c6f05b1e299 /Misc
parent1d93c87d734d1caba69dc873ed5fecb158d3dc86 (diff)
downloadcpython-2714460ac0126908782dde4f3afd27e5ce5dccd4.zip
cpython-2714460ac0126908782dde4f3afd27e5ce5dccd4.tar.gz
cpython-2714460ac0126908782dde4f3afd27e5ce5dccd4.tar.bz2
Merged revisions 75503 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75503 | r.david.murray | 2009-10-18 17:12:37 -0400 (Sun, 18 Oct 2009) | 11 lines Issue #7151: regrtest would generate a JSON failure if there was output to stderr during the test run and it happened to get emitted after the worker thread emitted the result JSON. Now we capture stdout and stderr separately, which avoids that problem. It also means that _all_ stderr output is after all stdout output when we print the test results, but that seems acceptable, since output ordering is not guaranteed anyway. The patch also moves the emit of the test name into the output block generated after the test completes. Otherwise test names and test output/errors were mixed in the terminal display, making it difficult to determine which test generated the output. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 11a25d8..f87e939 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -286,6 +286,9 @@ Documentation
Tests
-----
+- Issue #7151: fixed regrtest -j so that output to stderr from a test no
+ longer runs the risk of causing the worker thread to fail.
+
- Issue #7055: test___all__ now greedily detects all modules which have an
__all__ attribute, rather than using a hardcoded and incomplete list.