mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #17206: test.regrtest and test.script_helper enable faulthandler module
in subprocesses.
This commit is contained in:
parent
4af6898dbd
commit
383a820e0d
2 changed files with 3 additions and 2 deletions
|
@ -701,7 +701,8 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
|
|||
output = Queue()
|
||||
pending = MultiprocessTests(tests)
|
||||
opt_args = support.args_from_interpreter_flags()
|
||||
base_cmd = [sys.executable] + opt_args + ['-m', 'test.regrtest']
|
||||
base_cmd = [sys.executable] + opt_args
|
||||
base_cmd += ['-X', 'faulthandler', '-m', 'test.regrtest']
|
||||
def work():
|
||||
# A worker thread.
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue