-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 258bfc4.
- Loading branch information
Showing
1 changed file
with
2 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,19 @@ | ||
@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 | ||
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% |