Skip to content

Commit

Permalink
bpo-36511: Ensure error code propagates out of batch files (GH-13529)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmon authored and zooba committed May 24, 2019
1 parent c994c8f commit 51394b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/buildbot/test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ echo on
if "%arm32_ssh%"=="true" goto :Arm32Ssh

call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 --fail-env-changed %regrtest_args%
exit /b 0
exit /b %ERRORLEVEL%

:Arm32Ssh
set dashU=-unetwork,decimal,subprocess,urlfetch,tzdata
Expand All @@ -42,7 +42,7 @@ scp -r "%PYTHON_SOURCE%Lib" "%SSH_SERVER%:%REMOTE_PYTHON_DIR%Lib"

set rt_args=%rt_opts% %dashU% -rwW --slowest --timeout=1200 --fail-env-changed %regrtest_args% %TEMP_ARGS%
ssh %SSH_SERVER% "set TEMP=%REMOTE_PYTHON_DIR%temp& %REMOTE_PYTHON_DIR%PCbuild\rt.bat" %rt_args%
exit /b 0
exit /b %ERRORLEVEL%

:Arm32SshHelp
echo SSH_SERVER environment variable must be set to administrator@[ip address]
Expand Down

0 comments on commit 51394b8

Please sign in to comment.