]> granicus.if.org Git - python/commitdiff
Buildbot: give 20 minute per test file
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 11:04:17 +0000 (13:04 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 12 Sep 2016 11:04:17 +0000 (13:04 +0200)
It seems like at least 2 buildbots need more than 15 minutes per test file.
Example with "AMD64 Snow Leop 3.x":

    10 slowest tests:
    - test_tools: 14 min 40 sec
    - test_tokenize: 11 min 57 sec
    - test_datetime: 11 min 25 sec
    - ...

Makefile.pre.in
Tools/buildbot/test.bat

index 0d9f392afaf6653ba76551953e87c70bccd20403..cffb1a1e4c8cdc98708334f3b71c9d3c37b491dc 100644 (file)
@@ -988,7 +988,7 @@ $(LIBRARY_OBJS) $(MODOBJS) Programs/python.o: $(PYTHON_HEADERS)
 TESTOPTS=      $(EXTRATESTOPTS)
 TESTPYTHON=    $(RUNSHARED) ./$(BUILDPYTHON) $(TESTPYTHONOPTS)
 TESTRUNNER=    $(TESTPYTHON) $(srcdir)/Tools/scripts/run_tests.py
-TESTTIMEOUT=   900
+TESTTIMEOUT=   1200
 
 # Run a basic set of regression tests.
 # This excludes some tests that are particularly resource-intensive.
index 7bc4de502fc3e94b27fdb7f98f02d24b01749327..a32d38b5ec8bf5e2db84f390e4f5618476dc731b 100644 (file)
@@ -16,4 +16,4 @@ if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
 if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts\r
 \r
 echo on\r
-call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=900 %regrtest_args%\r
+call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 %regrtest_args%\r