[issue12400] regrtest: always run tests in verbose mode, but hide the output on success

STINNER Victor report at bugs.python.org
Tue Jun 28 01:12:37 CEST 2011

STINNER Victor <victor.stinner at haypocalc.com> added the comment:

New patch updated according to bitdancer's comment on IRC: only change the -W option. With the patch, -W only runs the test once but captures the output.

The main difference with my patch is that all output is written to stderr, even if the captured output was written into stdout. I don't want to capture stdout and stderr in two differents stream, I prefer to keep the original output order. In case of a failure, the output only concerns a failure.

Added file: http://bugs.python.org/file22502/regrtest_verbose3.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list