Issue #17206: test.regrtest and test.script_helper enable faulthandler module

in subprocesses.
This commit is contained in:
Victor Stinner 2013-06-25 21:24:36 +02:00
parent 4af6898dbd
commit 383a820e0d
2 changed files with 3 additions and 2 deletions

View file

@ -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: