cpython: 053bc5ca199b (original) (raw)
Mercurial > cpython
changeset 69105:053bc5ca199b
Issue #11727: set regrtest default timeout to 30 minutes [#11727]
Victor Stinner victor.stinner@haypocalc.com | |
---|---|
date | Fri, 01 Apr 2011 18:16:36 +0200 |
parents | 15f6fe139181 |
children | ca5932a51a9b |
files | Lib/test/regrtest.py Misc/NEWS |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-)[+] [-] Lib/test/regrtest.py 4 Misc/NEWS 2 |
line wrap: on
line diff
--- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -22,7 +22,7 @@ Options: -h/--help -- print this text and exit --timeout TIMEOUT -- dump the traceback and exit if a test takes more
than TIMEOUT seconds (default: 15 minutes); disable[](#l1.7)
than TIMEOUT seconds (default: 30 minutes); disable[](#l1.8) the timeout if TIMEOUT is zero[](#l1.9)
Verbosity @@ -240,7 +240,7 @@ def main(tests=None, testdir=None, verbo 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=15*60):[](#l1.16)
"""Execute a test suite. This also parses command-line options and modifies its behaviorheader=False, timeout=30*60):[](#l1.17)
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -361,7 +361,7 @@ Extensions Tests ----- -- Issue #11727: If a test takes more than 15 minutes, regrtest dumps the +- 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.