mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Close #25369: Fix test_regrtest without thread support
This commit is contained in:
parent
92f0113701
commit
4967146c8d
1 changed files with 4 additions and 1 deletions
|
@ -7,6 +7,7 @@ Note: test_regrtest cannot be run twice in parallel.
|
|||
import argparse
|
||||
import faulthandler
|
||||
import getopt
|
||||
import io
|
||||
import os.path
|
||||
import platform
|
||||
import re
|
||||
|
@ -433,7 +434,9 @@ class ProgramsTestCase(BaseTestCase):
|
|||
self.tests = [self.create_test() for index in range(self.NTEST)]
|
||||
|
||||
self.python_args = ['-Wd', '-E', '-bb']
|
||||
self.regrtest_args = ['-uall', '-rwW', '--timeout', '3600', '-j4']
|
||||
self.regrtest_args = ['-uall', '-rwW']
|
||||
if hasattr(faulthandler, 'dump_traceback_later'):
|
||||
self.regrtest_args.extend(('--timeout', '3600', '-j4'))
|
||||
if sys.platform == 'win32':
|
||||
self.regrtest_args.append('-n')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue