Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 2f15c84

Browse files
Drew ScogginsDrew Scoggins
authored andcommitted
Change xcopy to copy
1 parent fa0ee73 commit 2f15c84

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/scripts/run-xunit-perf.cmd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,12 @@ setlocal
107107
)
108108

109109
rem Save off the results to the root directory for recovery later in Jenkins
110-
call :run_cmd xcopy "Perf-%BENCHNAME%.xml" "%CORECLR_REPO%\Perf-%BENCHNAME%-%COLLECTION_FLAGS%.xml" || exit /b 1
111-
call :run_cmd xcopy "Perf-%BENCHNAME%.etl" "%CORECLR_REPO%\Perf-%BENCHNAME%-%COLLECTION_FLAGS%.etl" || exit /b 1
110+
IF EXIST "Perf-%BENCHNAME%.xml" (
111+
call :run_cmd copy "Perf-%BENCHNAME%.xml" "%CORECLR_REPO%\Perf-%BENCHNAME%-%COLLECTION_FLAGS%.xml" || exit /b 1
112+
)
113+
IF EXIST "Perf-%BENCHNAME%.etl" (
114+
call :run_cmd copy "Perf-%BENCHNAME%.etl" "%CORECLR_REPO%\Perf-%BENCHNAME%-%COLLECTION_FLAGS%.etl" || exit /b 1
115+
)
112116

113117
exit /b 0
114118

0 commit comments

Comments
 (0)