Fix unset ZapRelocationType for fixup (#18589)
[platform/upstream/coreclr.git] / Tools / RunnerTemplate.Windows.txt
1 @ECHO OFF
2 SETLOCAL
3
4 SET RUNTIME_PATH=%1
5 set RUNTIME_PATH=%RUNTIME_PATH:/=\%
6 IF DEFINED RUNTIME_PATH ( echo Using %RUNTIME_PATH% as the test runtime folder.) ELSE (
7 echo Please specify a test runtime folder using the RUNTIME_PATH parameter
8 goto ShowUsage
9 )
10 set EXECUTION_DIR=%~dp0
11 echo Executing in %EXECUTION_DIR% 
12
13 :: ========================= BEGIN Test Execution ============================= 
14 echo ----- start %TIME% ===============  To repro directly: ===================================================== 
15 echo pushd %EXECUTION_DIR%
16  [[TestRunCommandsEcho]]
17 echo popd
18 echo ===========================================================================================================
19 pushd %EXECUTION_DIR%
20 echo on
21 [[TestRunCommands]]
22 @echo off
23 popd
24 echo ----- end %TIME% ----- exit code %ERRORLEVEL% ----------------------------------------------------------
25 EXIT /B %ERRORLEVEL%
26 :: ========================= END Test Execution =================================
27
28 :ShowUsage
29 echo.
30 echo Usage:
31 echo.
32 echo %0 {runtime path}
33 echo.
34 echo Parameters:
35 echo runtime path :        (Mandatory) Root path containing the full test runtime necessary for test execution.
36 EXIT /B -1