diff options
author | José Rivero <jorive@microsoft.com> | 2017-08-30 13:51:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 13:51:23 -0700 |
commit | ee4e2951f165685ff00ec11c5d617fccfdb424f9 (patch) | |
tree | 683f50892717c049db038bbf9bf6b18c53ba7464 /tests/scripts | |
parent | b080568da03269affbf0c555f0df37bf22c32a2f (diff) | |
download | coreclr-ee4e2951f165685ff00ec11c5d617fccfdb424f9.tar.gz coreclr-ee4e2951f165685ff00ec11c5d617fccfdb424f9.tar.bz2 coreclr-ee4e2951f165685ff00ec11c5d617fccfdb424f9.zip |
Error out if specified testBinLoc path does not exist. (#13700)
Diffstat (limited to 'tests/scripts')
-rw-r--r-- | tests/scripts/run-xunit-perf.cmd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/scripts/run-xunit-perf.cmd b/tests/scripts/run-xunit-perf.cmd index 619ce09706..9642e6ef99 100644 --- a/tests/scripts/run-xunit-perf.cmd +++ b/tests/scripts/run-xunit-perf.cmd @@ -231,6 +231,7 @@ rem **************************************************************************** shift goto :parse_command_line_arguments ) + if /I [%~1] == [-?] ( call :USAGE exit /b 0 @@ -239,7 +240,10 @@ rem **************************************************************************** call :USAGE exit /b 0 ) - if [%CORECLR_PERF%] == [] ( + + if not defined CORECLR_PERF call :USAGE + if not exist "%CORECLR_PERF%" ( + call :print_error Specified testBinLoc: "%CORECLR_PERF%" does not exist. call :USAGE ) |