Skip to content

Commit

Permalink
Move --fail options from test.bat to rt.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Sep 19, 2023
1 parent 8dd5a56 commit fe69a52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PCbuild/rt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ set pcbuild=%~dp0
set suffix=
set qmode=
set dashO=
set regrtestargs=
set regrtestargs--fail-env-changed --fail-rerun
set exe=

:CheckOpts
Expand Down
4 changes: 2 additions & 2 deletions Tools/buildbot/test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if "%PROCESSOR_ARCHITECTURE%"=="ARM" if "%arm32_ssh%"=="true" goto NativeExecuti
if "%arm32_ssh%"=="true" goto :Arm32Ssh

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

:Arm32Ssh
Expand All @@ -35,7 +35,7 @@ if NOT "%REMOTE_PYTHON_DIR:~-1,1%"=="\" (set REMOTE_PYTHON_DIR=%REMOTE_PYTHON_DI

set TEMP_ARGS=--temp %REMOTE_PYTHON_DIR%temp

set rt_args=%rt_opts% %dashU% -rwW --slowest --timeout=1200 --fail-env-changed --fail-rerun %regrtest_args% %TEMP_ARGS%
set rt_args=%rt_opts% %dashU% -rwW --slowest --timeout=1200 %regrtest_args% %TEMP_ARGS%
ssh %SSH_SERVER% "set TEMP=%REMOTE_PYTHON_DIR%temp& cd %REMOTE_PYTHON_DIR% & %REMOTE_PYTHON_DIR%PCbuild\rt.bat" %rt_args%
set ERR=%ERRORLEVEL%
scp %SSH_SERVER%:"%REMOTE_PYTHON_DIR%test-results.xml" "%PYTHON_SOURCE%\test-results.xml"
Expand Down

0 comments on commit fe69a52

Please sign in to comment.