8000 Revert "bpo-30673: test.bat: add -t option (timeout) (#2211)" (#2245) · python/cpython@2d98c53 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d98c53

Browse files
authored
Revert "bpo-30673: test.bat: add -t option (timeout) (#2211)" (#2245)
This reverts commit 258bfc4.
1 parent b0c58d3 commit 2d98c53

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

Tools/buildbot/test.bat

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,19 @@
11
@echo off
2-
rem Script to run the Python test suite used by the "test" step
3-
rem of Windows buildbot slaves.
4-
rem
5-
rem See PCbuild/rt.bat for options, extra options:
6-
rem -t TIMEOUT: set a timeout in seconds
7-
2+
rem Used by the buildbot "test" step.
83
setlocal
94

105
set here=%~dp0
116
set rt_opts=-q -d
127
set regrtest_args=-j1
138

14-
rem Use a timeout of 20 minutes per test file by default
15-
set timeout=1200
16-
179
:CheckOpts
1810
if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
1911
if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
2012
if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
2113
if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
2214
if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts
2315
if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
24-
if "%1"=="-t" (set timeout=%2) & shift & shift & goto CheckOpts
2516
if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
2617

2718
echo on
28-
call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=%timeout% %regrtest_args%
19+
call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 %regrtest_args%

0 commit comments

Comments
 (0)
0