diff options
-rw-r--r-- | src/test/burn/test_burn.cmd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/burn/test_burn.cmd b/src/test/burn/test_burn.cmd index 3c8ce918..5014fb73 100644 --- a/src/test/burn/test_burn.cmd +++ b/src/test/burn/test_burn.cmd | |||
@@ -1,6 +1,7 @@ | |||
1 | @setlocal | 1 | @setlocal |
2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
3 | 3 | ||
4 | @set _RESULT=0 | ||
4 | @set _C=Debug | 5 | @set _C=Debug |
5 | :parse_args | 6 | :parse_args |
6 | @if /i "%1"=="release" set _C=Release | 7 | @if /i "%1"=="release" set _C=Release |
@@ -18,9 +19,11 @@ reg add HKLM\Software\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging | |||
18 | reg add HKLM\Software\WOW6432Node\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f | 19 | reg add HKLM\Software\WOW6432Node\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f |
19 | 20 | ||
20 | dotnet test -c %_C% --no-build WixToolsetTest.BurnE2E | 21 | dotnet test -c %_C% --no-build WixToolsetTest.BurnE2E |
22 | set _RESULT=%ERRORLEVEL% | ||
21 | 23 | ||
22 | 7z a "..\..\..\build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" | 24 | 7z a "..\..\..\build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" |
23 | 25 | ||
24 | :LExit | 26 | :LExit |
25 | @popd | 27 | @popd |
28 | exit /b %_RESULT% | ||
26 | @endlocal | 29 | @endlocal |