Add --runtime-path to CoreFX test runner.
authorSergey Andreenko <seandree@microsoft.com>
Wed, 17 Apr 2019 17:52:05 +0000 (10:52 -0700)
committerSergey Andreenko <seandree@microsoft.com>
Wed, 17 Apr 2019 17:52:05 +0000 (10:52 -0700)
tests/scripts/run-corefx-tests.bat
tests/scripts/run-corefx-tests.sh

index b77644f..34f86d2 100644 (file)
@@ -81,7 +81,7 @@ if %errorlevel% EQU 0 (
     echo COREFX TEST %_t3% EXCLUDED
     set /A _skipped=_skipped + 1
 ) else (
-    call :run %1\RunTests.cmd %_runtime_path%
+    call :run %1\RunTests.cmd --runtime-path %_runtime_path%
 )
 goto :eof
 
index 2d1dcb8..4a04f0a 100755 (executable)
@@ -327,9 +327,9 @@ run_test()
 
     echo
     echo "Running tests in $dirName"
-    echo "${TimeoutTool}./RunTests.sh $Runtime"
+    echo "${TimeoutTool}./RunTests.sh --runtime-path $Runtime"
     echo
-    ${TimeoutTool}./RunTests.sh "$Runtime"
+    ${TimeoutTool}./RunTests.sh --runtime-path "$Runtime"
     exitCode=$?
 
     if [ $exitCode -ne 0 ] ; then