diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-12-31 20:24:05 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-01-01 10:24:08 -0600 |
commit | ec89ea96ae7f42b227c0fb5f61cd21a19ef2e8de (patch) | |
tree | 7e17745923b5b961a114693caf0005e40f651cfc /src/burn | |
parent | 95b1be66d4c16b1b05b761c1771df229ac0e539c (diff) | |
download | wix-ec89ea96ae7f42b227c0fb5f61cd21a19ef2e8de.tar.gz wix-ec89ea96ae7f42b227c0fb5f61cd21a19ef2e8de.tar.bz2 wix-ec89ea96ae7f42b227c0fb5f61cd21a19ef2e8de.zip |
Upload test results and fail the build if any are missing.
Always zip up the logs from %TEMP%.
Diffstat (limited to 'src/burn')
-rw-r--r-- | src/burn/burn.cmd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/burn/burn.cmd b/src/burn/burn.cmd index b7c171c5..bd872bad 100644 --- a/src/burn/burn.cmd +++ b/src/burn/burn.cmd | |||
@@ -2,6 +2,7 @@ | |||
2 | @pushd %~dp0 | 2 | @pushd %~dp0 |
3 | 3 | ||
4 | @set _C=Debug | 4 | @set _C=Debug |
5 | @set _L=%~dp0..\..\build\logs | ||
5 | :parse_args | 6 | :parse_args |
6 | @if /i "%1"=="release" set _C=Release | 7 | @if /i "%1"=="release" set _C=Release |
7 | @if not "%1"=="" shift & goto parse_args | 8 | @if not "%1"=="" shift & goto parse_args |
@@ -12,9 +13,9 @@ | |||
12 | 13 | ||
13 | nuget restore || exit /b | 14 | nuget restore || exit /b |
14 | 15 | ||
15 | msbuild burn_t.proj -p:Configuration=%_C% -nologo -m -warnaserror -bl:..\..\build\logs\burn_build.binlog || exit /b | 16 | msbuild burn_t.proj -p:Configuration=%_C% -nologo -m -warnaserror -bl:%_L%\burn_build.binlog || exit /b |
16 | 17 | ||
17 | msbuild test\BurnUnitTest -t:Test -p:Configuration=%_C% -nologo || exit /b | 18 | msbuild test\BurnUnitTest -t:Test -p:Configuration=%_C% -nologo -p:CppCliTestResultsFile="%_L%\TestResults\BurnUnitTest.xunit2.xml" || exit /b |
18 | 19 | ||
19 | @popd | 20 | @popd |
20 | @endlocal | 21 | @endlocal |