File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 11@ echo off
2- rem Used by the buildbot "test" step.
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+
38setlocal
49
510set here = %~dp0
611set rt_opts = -q -d
712set regrtest_args = -j1
813
14+ rem Use a timeout of 20 minutes per test file by default
15+ set timeout = 1200
16+
917:CheckOpts
1018if " %1 " == " -x64" (set rt_opts=%rt_opts% %1 ) & shift & goto CheckOpts
1119if " %1 " == " -d" (set rt_opts=%rt_opts% %1 ) & shift & goto CheckOpts
1220if " %1 " == " -O" (set rt_opts=%rt_opts% %1 ) & shift & goto CheckOpts
1321if " %1 " == " -q" (set rt_opts=%rt_opts% %1 ) & shift & goto CheckOpts
1422if " %1 " == " +d" (set rt_opts=%rt_opts:-d =% ) & shift & goto CheckOpts
1523if " %1 " == " +q" (set rt_opts=%rt_opts:-q =% ) & shift & goto CheckOpts
24+ if " %1 " == " -t" (set timeout=%2 ) & shift & shift & goto CheckOpts
1625if NOT " %1 " == " " (set regrtest_args=%regrtest_args% %1 ) & shift & goto CheckOpts
1726
1827echo on
19- call " %here% ..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 %regrtest_args%
28+ call " %here% ..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=%timeout% %regrtest_args%
You can’t perform that action at this time.
0 commit comments