Fix run-xunit-perf.cmd for local use
authorMichelle McDaniel <adiaaida@gmail.com>
Wed, 12 Apr 2017 16:56:33 +0000 (09:56 -0700)
committerMichelle McDaniel <adiaaida@gmail.com>
Wed, 12 Apr 2017 16:56:33 +0000 (09:56 -0700)
run-xunit-perf.cmd  specifies the full path to the benchmark using
%WORKSPACE%, which a user may not set locally. This change modifies it to
use %CORECLR_ROOT%.

tests/scripts/run-xunit-perf.cmd

index bad1f93..0d657c6 100644 (file)
@@ -94,7 +94,7 @@ if DEFINED TEST_ENV (
     )
 )
 
-corerun.exe PerfHarness.dll %WORKSPACE%\sandbox\%BENCHNAME%.%TEST_FILE_EXT% --perf:runid Perf > %BENCHNAME%.out
+corerun.exe PerfHarness.dll %CORECLR_REPO%\sandbox\%BENCHNAME%.%TEST_FILE_EXT% --perf:runid Perf > %BENCHNAME%.out
 
 @rem optionally generate results for benchview
 if not [%BENCHVIEW_PATH%] == [] (