File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 1
1
@ 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.
8
3
setlocal
9
4
10
5
set here = %~dp0
11
6
set rt_opts = -q -d
12
7
set regrtest_args = -j1
13
8
14
- rem Use a timeout of 20 minutes per test file by default
15
- set timeout = 1200
16
-
17
9
:CheckOpts
18
10
if " %1 " == " -x64" (set rt_opts=%rt_opts% %1 ) & shift & goto CheckOpts
19
11
if " %1 " == " -d" (set rt_opts=%rt_opts% %1 ) & shift & goto CheckOpts
20
12
if " %1 " == " -O" (set rt_opts=%rt_opts% %1 ) & shift & goto CheckOpts
21
13
if " %1 " == " -q" (set rt_opts=%rt_opts% %1 ) & shift & goto CheckOpts
22
14
if " %1 " == " +d" (set rt_opts=%rt_opts:-d =% ) & shift & goto CheckOpts
23
15
if " %1 " == " +q" (set rt_opts=%rt_opts:-q =% ) & shift & goto CheckOpts
24
- if " %1 " == " -t" (set timeout=%2 ) & shift & shift & goto CheckOpts
25
16
if NOT " %1 " == " " (set regrtest_args=%regrtest_args% %1 ) & shift & goto CheckOpts
26
17
27
18
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%
You can’t perform that action at this time.
0 commit comments