diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-12-14 12:18:27 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-12-14 14:48:57 -0800 |
| commit | 09aac160d5898d6b95cd1b43d2c5a62e085e6a17 (patch) | |
| tree | 841b43d498ac1100f8a35697eb71d9bb10aa09d2 /src | |
| parent | f4b14a91e11b3e83f265c24435fdf705b616b15a (diff) | |
| download | wix-09aac160d5898d6b95cd1b43d2c5a62e085e6a17.tar.gz wix-09aac160d5898d6b95cd1b43d2c5a62e085e6a17.tar.bz2 wix-09aac160d5898d6b95cd1b43d2c5a62e085e6a17.zip | |
Capture logs from burn integration tests
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/burn/test_burn.cmd | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/test/burn/test_burn.cmd b/src/test/burn/test_burn.cmd index f8880094..3c8ce918 100644 --- a/src/test/burn/test_burn.cmd +++ b/src/test/burn/test_burn.cmd | |||
| @@ -12,7 +12,15 @@ | |||
| 12 | msbuild -t:Build -Restore -p:Configuration=%_C% -warnaserror || exit /b | 12 | msbuild -t:Build -Restore -p:Configuration=%_C% -warnaserror || exit /b |
| 13 | msbuild -t:Build -Restore -p:Configuration=%_C% TestData\TestData.proj || exit /b | 13 | msbuild -t:Build -Restore -p:Configuration=%_C% TestData\TestData.proj || exit /b |
| 14 | 14 | ||
| 15 | if /i "%RuntimeTestsEnabled%"=="true" dotnet test -c %_C% --no-build WixToolsetTest.BurnE2E | 15 | @if not "%RuntimeTestsEnabled%"=="true" goto :LExit |
| 16 | 16 | ||
| 17 | reg add HKLM\Software\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f | ||
| 18 | reg add HKLM\Software\WOW6432Node\Policies\Microsoft\Windows\Installer /t REG_SZ /v Logging /d voicewarmupx /f | ||
| 19 | |||
| 20 | dotnet test -c %_C% --no-build WixToolsetTest.BurnE2E | ||
| 21 | |||
| 22 | 7z a "..\..\..\build\logs\test_burn_%GITHUB_RUN_ID%.zip" "%TEMP%\*.log" "%TEMP%\..\*.log" | ||
| 23 | |||
| 24 | :LExit | ||
| 17 | @popd | 25 | @popd |
| 18 | @endlocal | 26 | @endlocal |
