summaryrefslogtreecommitdiffstats
path: root/Tools/buildbot
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2020-07-07 23:24:39 (GMT)
committerGitHub <noreply@github.com>2020-07-07 23:24:39 (GMT)
commit10772ec1505a4583d662c051e577eb2d4fb6e755 (patch)
tree858e9a269ea3c322290739893f456ea92930ef10 /Tools/buildbot
parenta95ac779e6bca0d87819969e361627182b83292c (diff)
downloadcpython-10772ec1505a4583d662c051e577eb2d4fb6e755.zip
cpython-10772ec1505a4583d662c051e577eb2d4fb6e755.tar.gz
cpython-10772ec1505a4583d662c051e577eb2d4fb6e755.tar.bz2
bpo-41173: Copy test results file from ARM worker before uploading (GH-21305)
Diffstat (limited to 'Tools/buildbot')
-rw-r--r--Tools/buildbot/test.bat6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tools/buildbot/test.bat b/Tools/buildbot/test.bat
index a0fc6b9..25c796a 100644
--- a/Tools/buildbot/test.bat
+++ b/Tools/buildbot/test.bat
@@ -36,8 +36,10 @@ 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 %regrtest_args% %TEMP_ARGS%
-ssh %SSH_SERVER% "set TEMP=%REMOTE_PYTHON_DIR%temp& %REMOTE_PYTHON_DIR%PCbuild\rt.bat" %rt_args%
-exit /b %ERRORLEVEL%
+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"
+exit /b %ERR%
:Arm32SshHelp
echo SSH_SERVER environment variable must be set to administrator@[ip address]