Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
258bfc46
Commit
258bfc46
authored
Jun 15, 2017
by
Victor Stinner
Committed by
GitHub
Jun 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-30673: test.bat: add -t option (timeout) (#2211)
parent
145541cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
Tools/buildbot/test.bat
Tools/buildbot/test.bat
+11
-2
No files found.
Tools/buildbot/test.bat
View file @
258bfc46
@echo
off
rem Used by the buildbot "test" step.
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
setlocal
set
here
=
%~dp0
set
rt_opts
=
-q -d
set
regrtest_args
=
-j
1
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
...
...
@@ -13,7 +21,8 @@ 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
=
1200
%regrtest_args%
call
"
%here%
..\..\PCbuild\rt.bat"
%rt_opts%
-uall -rwW
-
-slowest
-
-timeout
=
%timeout%
%regrtest_args%
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment