[issue17554] Compact output for regrtest

Ezio Melotti report at bugs.python.org
Tue Mar 26 22:02:15 CET 2013


New submission from Ezio Melotti:

The attached patch is a proof of concept that changes the output of regrtest so that the "[xxx/yyy] test_zzzzzz" is updated in place instead of printing each test on a separate line.  Failures, skips, and the final report are printed normally, making it easier to find what failed without having to scroll for 400+ lines of output.
The patch works with and without -j, but I haven't tested it with other flags.

If people like the idea, this could be the default behavior, otherwise a new flag to enable the feature could be added (or it could be enabled with the already existing -q/--quiet).

Also attached a sample output of a full test run.

----------
components: Tests
files: regr.diff
keywords: patch
messages: 185302
nosy: brett.cannon, chris.jerdonek, ezio.melotti, haypo, pitrou, r.david.murray
priority: normal
severity: normal
stage: needs patch
status: open
title: Compact output for regrtest
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file29585/regr.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17554>
_______________________________________


More information about the Python-bugs-list mailing list