[Python-checkins] cpython: Makefile: change default value of TESTTIMEOUT from 1 hour to 15 min

victor.stinner python-checkins at python.org
Tue Mar 22 21:05:46 EDT 2016


https://hg.python.org/cpython/rev/19c2840da45e
changeset:   100673:19c2840da45e
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Mar 23 02:05:39 2016 +0100
summary:
  Makefile: change default value of TESTTIMEOUT from 1 hour to 15 min

The whole test suite takes 6 minutes on my laptop. It takes less than 30
minutes on most buildbots. The TESTTIMEOUT is the timeout for a single test
file.

files:
  Makefile.pre.in |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -974,7 +974,7 @@
 TESTOPTS=	$(EXTRATESTOPTS)
 TESTPYTHON=	$(RUNSHARED) ./$(BUILDPYTHON) $(TESTPYTHONOPTS)
 TESTRUNNER=	$(TESTPYTHON) $(srcdir)/Tools/scripts/run_tests.py
-TESTTIMEOUT=	3600
+TESTTIMEOUT=	900
 
 # Run a basic set of regression tests.
 # This excludes some tests that are particularly resource-intensive.

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


More information about the Python-checkins mailing list