aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/test_burn.cmd
blob: f88800945a913492df789fb25d78a9b56349f4f0 (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

@echo Burn integration tests %_C%

msbuild -t:Build -Restore -p:Configuration=%_C% -warnaserror || exit /b
msbuild -t:Build -Restore -p:Configuration=%_C% TestData\TestData.proj || exit /b

if /i "%RuntimeTestsEnabled%"=="true" dotnet test -c %_C% --no-build WixToolsetTest.BurnE2E

@popd
@endlocal