summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-10-18 21:12:37 +0000
committerR. David Murray <rdmurray@bitdance.com>2009-10-18 21:12:37 +0000
commit282396f27addf4ae6586865ccf449f60753a106c (patch)
tree57f3a79f285a3662be3d1301b8743b9dbc215bbe /Python
parent603acf99d04fc7149c3aa28202e56ee1f84f0c75 (diff)
downloadcpython-git-282396f27addf4ae6586865ccf449f60753a106c.tar.gz
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 'Python')
0 files changed, 0 insertions, 0 deletions