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

@set _C=Debug
@set _L=%~dp0..\..\build\logs
: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 -l "trx;LogFileName=%_L%\TestResults\WixToolsetTest.WixE2ETests.trx" || exit /b

@popd
@endlocal