From: Victor Stinner Date: Fri, 16 Jun 2017 12:38:32 +0000 (+0200) Subject: Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)" (#2246) X-Git-Tag: v3.6.2rc1~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=085a57a8d63b3c8057b5f793518e3d04179710a1;p=python Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2225)" (#2246) This reverts commit e064d4dfeda09fd206653697b70b434e98cc1b57. --- diff --git a/Tools/buildbot/test.bat b/Tools/buildbot/test.bat index dac038fa69..0b3a3091c1 100644 --- a/Tools/buildbot/test.bat +++ b/Tools/buildbot/test.bat @@ -1,19 +1,11 @@ @echo off -rem Script to run the Python test suite used by the "test" step -rem of Windows buildbot slaves. -rem -rem See PCbuild/rt.bat for options, extra options: -rem -t TIMEOUT: set a timeout in seconds - +rem Used by the buildbot "test" step. setlocal set here=%~dp0 set rt_opts=-q -d set regrtest_args=-j1 -rem Use a timeout of 20 minutes per test file by default -set timeout=1200 - :CheckOpts if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts @@ -21,8 +13,7 @@ if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts -if "%1"=="-t" (set timeout=%2) & shift & shift & goto CheckOpts if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts echo on -call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=%timeout% %regrtest_args% +call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 %regrtest_args%