[Python-checkins] cpython: Issue #11727, issue #11753, issue #11755: disable regrtest timeout

victor.stinner python-checkins at python.org
Sun Apr 3 23:46:44 CEST 2011


http://hg.python.org/cpython/rev/394f0ea0d29e
changeset:   69119:394f0ea0d29e
user:        Victor Stinner <victor.stinner at haypocalc.com>
date:        Sun Apr 03 23:46:42 2011 +0200
summary:
  Issue #11727, issue #11753, issue #11755: disable regrtest timeout

Disable regrtest timeout until #11753 and #11755 are fixed

files:
  Lib/test/regrtest.py |  2 +-
  Misc/NEWS            |  5 ++---
  2 files changed, 3 insertions(+), 4 deletions(-)


diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -240,7 +240,7 @@
          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
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -370,9 +370,8 @@
 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.
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list