From 2f15c84ef9e4df3f94052a6e105d5a9cbad0d09d Mon Sep 17 00:00:00 2001 From: Drew Scoggins Date: Sun, 7 May 2017 23:26:42 -0700 Subject: Change xcopy to copy --- tests/scripts/run-xunit-perf.cmd | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/scripts/run-xunit-perf.cmd b/tests/scripts/run-xunit-perf.cmd index 34380ac44a..c298403d05 100644 --- a/tests/scripts/run-xunit-perf.cmd +++ b/tests/scripts/run-xunit-perf.cmd @@ -107,8 +107,12 @@ setlocal ) rem Save off the results to the root directory for recovery later in Jenkins - call :run_cmd xcopy "Perf-%BENCHNAME%.xml" "%CORECLR_REPO%\Perf-%BENCHNAME%-%COLLECTION_FLAGS%.xml" || exit /b 1 - call :run_cmd xcopy "Perf-%BENCHNAME%.etl" "%CORECLR_REPO%\Perf-%BENCHNAME%-%COLLECTION_FLAGS%.etl" || exit /b 1 + IF EXIST "Perf-%BENCHNAME%.xml" ( + call :run_cmd copy "Perf-%BENCHNAME%.xml" "%CORECLR_REPO%\Perf-%BENCHNAME%-%COLLECTION_FLAGS%.xml" || exit /b 1 + ) + IF EXIST "Perf-%BENCHNAME%.etl" ( + call :run_cmd copy "Perf-%BENCHNAME%.etl" "%CORECLR_REPO%\Perf-%BENCHNAME%-%COLLECTION_FLAGS%.etl" || exit /b 1 + ) exit /b 0 -- cgit v1.2.3