aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.cmd
blob: a4103f030ce500d5e36c3905e7b64f3129d147b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@setlocal
@pushd %~dp0

@set _C=Debug
:parse_args
@if /i "%1"=="release" set _C=Release
@if /i "%1"=="test" set RuntimeTestsEnabled=true
@if not "%1"=="" shift & goto parse_args

@if not "%RuntimeTestsEnabled%"=="true" echo Build integration tests %_C%
@if "%RuntimeTestsEnabled%"=="true" set _T=test&echo Run integration tests %_C%

@call burn\test_burn.cmd %_C% %_T% || exit /b

dotnet test wix -c %_C% --nologo -v m || exit /b

@popd
@endlocal