diff options
author | Bob Arnson <bob@firegiant.com> | 2025-07-19 22:25:25 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2025-07-20 20:10:41 -0400 |
commit | a4a0818ff7335b5c86b590d1f6e990671c2ef387 (patch) | |
tree | b4a39ab7bcbb1f66ce0dee41dc567b66c85e83ad /src/ext/Bal | |
parent | baf02e973f152ddb7d74d90f505cafc0be17c4fd (diff) | |
download | wix-bob/WixTestTargets.tar.gz wix-bob/WixTestTargets.tar.bz2 wix-bob/WixTestTargets.zip |
Embiggen build perf.bob/WixTestTargets
- Move ext tests to targets for better MSBuild scheduling.
- Parallelize long-running tests.
- Disable Firewall ICEs for dev builds; they're redundant with
round-tripping and ICEs are mutex'd to make them painfully serial.
Diffstat (limited to '')
-rw-r--r-- | src/ext/Bal/bal_t.proj | 6 | ||||
-rw-r--r-- | src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/BalExtensionFixture.cs | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ext/Bal/bal_t.proj b/src/ext/Bal/bal_t.proj index bb8d44a2..80da207d 100644 --- a/src/ext/Bal/bal_t.proj +++ b/src/ext/Bal/bal_t.proj | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | <ProjectReference Include="test\examples\examples.proj" /> | 19 | <ProjectReference Include="test\examples\examples.proj" /> |
20 | 20 | ||
21 | <ProjectReference Include="test\WixToolsetTest.BootstrapperApplications\WixToolsetTest.BootstrapperApplications.csproj" Targets="Test" /> | 21 | <ProjectReference Include="test\WixToolsetTest.BootstrapperApplications\WixToolsetTest.BootstrapperApplications.csproj" /> |
22 | 22 | ||
23 | <!-- | 23 | <!-- |
24 | Currently there are no unskipped unit tests in this project. Should that change, | 24 | Currently there are no unskipped unit tests in this project. Should that change, |
@@ -41,4 +41,8 @@ | |||
41 | <Delete Files="$(ArtifactsFolder)WixToolset.BootstrapperApplications.wixext.*.nupkg" /> | 41 | <Delete Files="$(ArtifactsFolder)WixToolset.BootstrapperApplications.wixext.*.nupkg" /> |
42 | <Delete Files="$(ArtifactsFolder)WixToolset.WixStandardBootstrapperApplicationFunctionApi.wixext.*.nupkg" /> | 42 | <Delete Files="$(ArtifactsFolder)WixToolset.WixStandardBootstrapperApplicationFunctionApi.wixext.*.nupkg" /> |
43 | </Target> | 43 | </Target> |
44 | |||
45 | <Target Name="WixTest"> | ||
46 | <MSBuild Projects="test\WixToolsetTest.BootstrapperApplications\WixToolsetTest.BootstrapperApplications.csproj" Targets="Test" /> | ||
47 | </Target> | ||
44 | </Project> | 48 | </Project> |
diff --git a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/BalExtensionFixture.cs b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/BalExtensionFixture.cs index 6e24ad72..07d3dacb 100644 --- a/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/BalExtensionFixture.cs +++ b/src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/BalExtensionFixture.cs | |||
@@ -1,5 +1,9 @@ | |||
1 | // 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. | 1 | // 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 | 2 | ||
3 | using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
4 | |||
5 | [assembly: Parallelize(Scope = ExecutionScope.MethodLevel)] | ||
6 | |||
3 | namespace WixToolsetTest.BootstrapperApplications | 7 | namespace WixToolsetTest.BootstrapperApplications |
4 | { | 8 | { |
5 | using System; | 9 | using System; |