findleaks=False, use_resources=None, trace=False, coverdir='coverage',
runleaks=False, huntrleaks=False, verbose2=False, print_slow=False,
random_seed=None, use_mp=None, verbose3=False, forever=False,
- header=False, timeout=30*60):
+ header=False, timeout=None):
"""Execute a test suite.
This also parses command-line options and modifies its behavior
Tests
-----
-- Issue #11727: If a test takes more than 30 minutes, regrtest dumps the
- traceback of all threads and exits. Use --timeout option to change the
- default timeout or to disable it.
+- Issue #11727: Add a --timeout option to regrtest: if a test takes more than
+ TIMEOUT seconds, dumps the traceback of all threads and exits.
- Issue #11653: fix -W with -j in regrtest.