From fe69a52cc1d637fcc0eeb08f1f0de37d50fc73c7 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 19 Sep 2023 13:46:00 +0200 Subject: [PATCH] Move --fail options from test.bat to rt.bat --- PCbuild/rt.bat | 2 +- Tools/buildbot/test.bat | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat index 29813c5a87fca7..cd32a386f0366b 100644 --- a/PCbuild/rt.bat +++ b/PCbuild/rt.bat @@ -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 diff --git a/Tools/buildbot/test.bat b/Tools/buildbot/test.bat index 775e6c23d1621b..c1b2605a4b2c7e 100644 --- a/Tools/buildbot/test.bat +++ b/Tools/buildbot/test.bat @@ -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 @@ -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"