diff options
author | Drew Scoggins <Drew Scoggins> | 2017-05-07 23:26:42 -0700 |
---|---|---|
committer | Drew Scoggins <Drew Scoggins> | 2017-05-08 01:14:09 -0700 |
commit | 2f15c84ef9e4df3f94052a6e105d5a9cbad0d09d (patch) | |
tree | 3b28384dbee267e4f4670a4d1c4b5a747e781676 /tests | |
parent | fa0ee737a0c05b1e3db83f508fd1b8018da97b61 (diff) | |
download | coreclr-2f15c84ef9e4df3f94052a6e105d5a9cbad0d09d.tar.gz coreclr-2f15c84ef9e4df3f94052a6e105d5a9cbad0d09d.tar.bz2 coreclr-2f15c84ef9e4df3f94052a6e105d5a9cbad0d09d.zip |
Change xcopy to copy
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scripts/run-xunit-perf.cmd | 8 |
1 files changed, 6 insertions, 2 deletions
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 |