summaryrefslogtreecommitdiff
path: root/packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/RunnerTemplate.Windows.txt
diff options
context:
space:
mode:
Diffstat (limited to 'packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/RunnerTemplate.Windows.txt')
-rwxr-xr-xpackages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/RunnerTemplate.Windows.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/RunnerTemplate.Windows.txt b/packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/RunnerTemplate.Windows.txt
new file mode 100755
index 0000000000..5a8d9ae266
--- /dev/null
+++ b/packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-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