diff options
author | Rob Mensching <rob@firegiant.com> | 2022-11-12 20:29:49 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-11-13 07:27:49 -0800 |
commit | 5e5c542f75a33c0fb8b0ce50f6d66a310bf37ee7 (patch) | |
tree | 55b968363fc20d4fc2108f97afdc2a3710982f62 /src/test/burn | |
parent | 0ff785170c06a8dfb42f2d4539215aa69cf53840 (diff) | |
download | wix-5e5c542f75a33c0fb8b0ce50f6d66a310bf37ee7.tar.gz wix-5e5c542f75a33c0fb8b0ce50f6d66a310bf37ee7.tar.bz2 wix-5e5c542f75a33c0fb8b0ce50f6d66a310bf37ee7.zip |
Parallelize building test code
Diffstat (limited to 'src/test/burn')
-rw-r--r-- | src/test/burn/TestData/TestData.proj | 12 | ||||
-rw-r--r-- | src/test/burn/test_burn.cmd | 4 |
2 files changed, 4 insertions, 12 deletions
diff --git a/src/test/burn/TestData/TestData.proj b/src/test/burn/TestData/TestData.proj index 9e130987..6eeb18fd 100644 --- a/src/test/burn/TestData/TestData.proj +++ b/src/test/burn/TestData/TestData.proj | |||
@@ -1,16 +1,8 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
3 | 3 | ||
4 | <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | 4 | <Project Sdk="Microsoft.Build.Traversal"> |
5 | <ItemGroup> | 5 | <ItemGroup> |
6 | <TestDataProject Include="**\*.wixproj" /> | 6 | <ProjectReference Include="**\*.wixproj" /> |
7 | </ItemGroup> | 7 | </ItemGroup> |
8 | |||
9 | <Target Name="Build"> | ||
10 | <MSBuild Projects="%(TestDataProject.Identity)" /> | ||
11 | </Target> | ||
12 | |||
13 | <Target Name="Restore"> | ||
14 | <MSBuild Projects="%(TestDataProject.Identity)" Targets="Restore" /> | ||
15 | </Target> | ||
16 | </Project> | 8 | </Project> |
diff --git a/src/test/burn/test_burn.cmd b/src/test/burn/test_burn.cmd index 311a6b32..4d005da2 100644 --- a/src/test/burn/test_burn.cmd +++ b/src/test/burn/test_burn.cmd | |||
@@ -13,8 +13,8 @@ | |||
13 | 13 | ||
14 | @echo Burn integration tests %_C% | 14 | @echo Burn integration tests %_C% |
15 | 15 | ||
16 | msbuild -t:Build -Restore -p:Configuration=%_C% -warnaserror -bl:%_L%\test_burn_build.binlog || exit /b | 16 | msbuild -Restore -p:Configuration=%_C% -warnaserror -bl:%_L%\test_burn_build.binlog || exit /b |
17 | msbuild -t:Build -Restore TestData\TestData.proj -p:Configuration=%_C% -m -bl:%_L%\test_burn_data_build.binlog || exit /b | 17 | msbuild -Restore TestData\TestData.proj -p:Configuration=%_C% -m -bl:%_L%\test_burn_data_build.binlog || exit /b |
18 | 18 | ||
19 | "%_B%\net35\win-x86\testexe.exe" /dm "%_B%\net6.0-windows\testhost.exe" | 19 | "%_B%\net35\win-x86\testexe.exe" /dm "%_B%\net6.0-windows\testhost.exe" |
20 | mt.exe -manifest "WixToolsetTest.BurnE2E\testhost.longpathaware.manifest" -updateresource:"%_B%\net6.0-windows\testhost.exe" | 20 | mt.exe -manifest "WixToolsetTest.BurnE2E\testhost.longpathaware.manifest" -updateresource:"%_B%\net6.0-windows\testhost.exe" |