summaryrefslogtreecommitdiff
path: root/Tools/RunnerTemplate.Quiet.Windows.txt
blob: 4d0d4dc18405d7cb1e5a5f237a21a3d50a326100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@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 ============================= 
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