diff options
| author | Rob Mensching <rob@firegiant.com> | 2022-10-03 15:55:20 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2022-10-04 14:23:47 -0700 |
| commit | 21ea5adcc788bbecd81e475277aba927ec66c860 (patch) | |
| tree | a02076c55c29fd3c78ba0136745f0621b357825a /src/test | |
| parent | 7d231e729b4e53979952dcdd12654aa77a411521 (diff) | |
| download | wix-21ea5adcc788bbecd81e475277aba927ec66c860.tar.gz wix-21ea5adcc788bbecd81e475277aba927ec66c860.tar.bz2 wix-21ea5adcc788bbecd81e475277aba927ec66c860.zip | |
Run tests in bulk to improve performance
The fewer executions of "dotnet test" the better so batch up calls
by referencing multiple assembly DLLs.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/burn/test_burn.cmd | 2 | ||||
| -rw-r--r-- | src/test/msi/test_msi.cmd | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/burn/test_burn.cmd b/src/test/burn/test_burn.cmd index 72ffd448..311a6b32 100644 --- a/src/test/burn/test_burn.cmd +++ b/src/test/burn/test_burn.cmd | |||
| @@ -21,7 +21,7 @@ mt.exe -manifest "WixToolsetTest.BurnE2E\testhost.longpathaware.manifest" -updat | |||
| 21 | 21 | ||
| 22 | @if not "%RuntimeTestsEnabled%"=="true" goto :LExit | 22 | @if not "%RuntimeTestsEnabled%"=="true" goto :LExit |
| 23 | 23 | ||
| 24 | dotnet test -c %_C% --no-build WixToolsetTest.BurnE2E -l "trx;LogFileName=%_L%\TestResults\WixToolsetTest.BurnE2E.trx" || exit /b | 24 | dotnet test -c %_C% WixToolsetTest.BurnE2E --nologo --no-build -l "trx;LogFileName=%_L%\TestResults\WixToolsetTest.BurnE2E.trx" || exit /b |
| 25 | 25 | ||
| 26 | :LExit | 26 | :LExit |
| 27 | @popd | 27 | @popd |
diff --git a/src/test/msi/test_msi.cmd b/src/test/msi/test_msi.cmd index bb9d0162..2a6f5831 100644 --- a/src/test/msi/test_msi.cmd +++ b/src/test/msi/test_msi.cmd | |||
| @@ -16,7 +16,7 @@ msbuild -t:Build -Restore TestData\TestData.proj -p:Configuration=%_C% -m -bl:%_ | |||
| 16 | 16 | ||
| 17 | @if not "%RuntimeTestsEnabled%"=="true" goto :LExit | 17 | @if not "%RuntimeTestsEnabled%"=="true" goto :LExit |
| 18 | 18 | ||
| 19 | dotnet test -c %_C% --no-build WixToolsetTest.MsiE2E -l "trx;LogFileName=%_L%\TestResults\WixToolsetTest.MsiE2E.trx" || exit /b | 19 | dotnet test -c %_C% WixToolsetTest.MsiE2E --nologo --no-build -l "trx;LogFileName=%_L%\TestResults\WixToolsetTest.MsiE2E.trx" || exit /b |
| 20 | 20 | ||
| 21 | :LExit | 21 | :LExit |
| 22 | @popd | 22 | @popd |
