[New-bugs-announce] [issue37711] regrtest: re-run tests in subprocesses

STINNER Victor report at bugs.python.org
Mon Jul 29 19:44:36 EDT 2019


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

When using python3 -m test -w, failed tests are re-run in the regrtest main process, even if -jN option is used. If a test does crash, regrtest doesn't remove its temporary directory which can lead to random test failures like bpo-37359.

At least when using -jN, I suggest to run tests in a subprocess to ensure that regrtest is able to cleanup its temporary directory, even if a test does crash.

----------
components: Tests
messages: 348700
nosy: vstinner
priority: normal
severity: normal
status: open
title: regrtest: re-run tests in subprocesses
versions: Python 3.9

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


More information about the New-bugs-announce mailing list