diff options
Diffstat (limited to '.packages/microsoft.dotnet.buildtools/3.0.0-preview4-04022-01/lib/RunnerTemplate.Windows.txt')
-rwxr-xr-x | .packages/microsoft.dotnet.buildtools/3.0.0-preview4-04022-01/lib/RunnerTemplate.Windows.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.packages/microsoft.dotnet.buildtools/3.0.0-preview4-04022-01/lib/RunnerTemplate.Windows.txt b/.packages/microsoft.dotnet.buildtools/3.0.0-preview4-04022-01/lib/RunnerTemplate.Windows.txt new file mode 100755 index 0000000000..5a8d9ae266 --- /dev/null +++ b/.packages/microsoft.dotnet.buildtools/3.0.0-preview4-04022-01/lib/RunnerTemplate.Windows.txt @@ -0,0 +1,36 @@ +@ECHO OFF +SETLOCAL + +SET RUNTIME_PATH=%1 +set RUNTIME_PATH=%RUNTIME_PATH:/=\% +IF DEFINED RUNTIME_PATH ( echo Using %RUNTIME_PATH% as the test runtime folder.) ELSE ( +echo Please specify a test runtime folder using the RUNTIME_PATH parameter +goto ShowUsage +) +set EXECUTION_DIR=%~dp0 +echo Executing in %EXECUTION_DIR% + +:: ========================= BEGIN Test Execution ============================= +echo ----- start %TIME% =============== To repro directly: ===================================================== +echo pushd %EXECUTION_DIR% + [[TestRunCommandsEcho]] +echo popd +echo =========================================================================================================== +pushd %EXECUTION_DIR% +echo on +[[TestRunCommands]] +@echo off +popd +echo ----- end %TIME% ----- exit code %ERRORLEVEL% ---------------------------------------------------------- +EXIT /B %ERRORLEVEL% +:: ========================= END Test Execution ================================= + +:ShowUsage +echo. +echo Usage: +echo. +echo %0 {runtime path} +echo. +echo Parameters: +echo runtime path : (Mandatory) Root path containing the full test runtime necessary for test execution. +EXIT /B -1
\ No newline at end of file |