[New-bugs-announce] [issue33680] regrtest: re-run failed tests in a subprocess

STINNER Victor report at bugs.python.org
Tue May 29 07:41:03 EDT 2018


New submission from STINNER Victor <vstinner at redhat.com>:

The -w option of regrtest (python -m test) re-run failed tests in verbose in the current process. Problem: if the test does crash, regrtest doesn't re-run following tests, it doesn't write the final tests result (like failing tests, total duration, etc.).

To make regrtest tolerant to such crashes, re-run tests should be run in verbose mode. The only constraint is to disable buffering on stdout and stderr to make sure that stdout and stderr order is kept in pipes. Or maybe stderr should be redirected to stdout to avoid ordering issue?

----------
components: Tests
messages: 318011
nosy: vstinner
priority: normal
severity: normal
status: open
title: regrtest: re-run failed tests in a subprocess
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33680>
_______________________________________


More information about the New-bugs-announce mailing list