diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-25 19:24:36 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-25 19:24:36 (GMT) |
commit | 383a820e0dd05273940c9513be7ee17d912aa54f (patch) | |
tree | cdaf1a5bbcfacb579b5a25d4acea1b2348ed1838 /Lib/test/regrtest.py | |
parent | 4af6898dbd1df44a10f9a08d84691e0c6e69531b (diff) | |
download | cpython-383a820e0dd05273940c9513be7ee17d912aa54f.zip cpython-383a820e0dd05273940c9513be7ee17d912aa54f.tar.gz cpython-383a820e0dd05273940c9513be7ee17d912aa54f.tar.bz2 |
Issue #17206: test.regrtest and test.script_helper enable faulthandler module
in subprocesses.
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-x | Lib/test/regrtest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 028f3b4..e6eef16 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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: |