diff options
| author | Bob Arnson <bob@firegiant.com> | 2025-07-19 22:25:25 -0400 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2025-07-21 13:38:30 -0400 |
| commit | 65e68bcfaf4b0ef9796cad4d5a470b3b3e72032f (patch) | |
| tree | b4a39ab7bcbb1f66ce0dee41dc567b66c85e83ad /src/ext/NetFx | |
| parent | baf02e973f152ddb7d74d90f505cafc0be17c4fd (diff) | |
| download | wix-65e68bcfaf4b0ef9796cad4d5a470b3b3e72032f.tar.gz wix-65e68bcfaf4b0ef9796cad4d5a470b3b3e72032f.tar.bz2 wix-65e68bcfaf4b0ef9796cad4d5a470b3b3e72032f.zip | |
Embiggen build perf.
- 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 'src/ext/NetFx')
| -rw-r--r-- | src/ext/NetFx/netfx_t.proj | 6 | ||||
| -rw-r--r-- | src/ext/NetFx/test/WixToolsetTest.Netfx/NetfxExtensionFixture.cs | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ext/NetFx/netfx_t.proj b/src/ext/NetFx/netfx_t.proj index 1c1b8a61..86996e42 100644 --- a/src/ext/NetFx/netfx_t.proj +++ b/src/ext/NetFx/netfx_t.proj | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | <Project Sdk="Microsoft.Build.Traversal"> | 4 | <Project Sdk="Microsoft.Build.Traversal"> |
| 5 | <ItemGroup> | 5 | <ItemGroup> |
| 6 | <ProjectReference Include="wixlib\netfx.wixproj" /> | 6 | <ProjectReference Include="wixlib\netfx.wixproj" /> |
| 7 | <ProjectReference Include="test\WixToolsetTest.Netfx\WixToolsetTest.Netfx.csproj" Targets="Test" /> | 7 | <ProjectReference Include="test\WixToolsetTest.Netfx\WixToolsetTest.Netfx.csproj" /> |
| 8 | <ProjectReference Include="wixext\WixToolset.Netfx.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> | 8 | <ProjectReference Include="wixext\WixToolset.Netfx.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> |
| 9 | </ItemGroup> | 9 | </ItemGroup> |
| 10 | 10 | ||
| @@ -23,4 +23,8 @@ | |||
| 23 | 23 | ||
| 24 | <Delete Files="$(ArtifactsFolder)WixToolset.NetFx.wixext.*.nupkg" /> | 24 | <Delete Files="$(ArtifactsFolder)WixToolset.NetFx.wixext.*.nupkg" /> |
| 25 | </Target> | 25 | </Target> |
| 26 | |||
| 27 | <Target Name="WixTest"> | ||
| 28 | <MSBuild Projects="test\WixToolsetTest.Netfx\WixToolsetTest.Netfx.csproj" Targets="Test" /> | ||
| 29 | </Target> | ||
| 26 | </Project> | 30 | </Project> |
diff --git a/src/ext/NetFx/test/WixToolsetTest.Netfx/NetfxExtensionFixture.cs b/src/ext/NetFx/test/WixToolsetTest.Netfx/NetfxExtensionFixture.cs index 37f715bf..381270d4 100644 --- a/src/ext/NetFx/test/WixToolsetTest.Netfx/NetfxExtensionFixture.cs +++ b/src/ext/NetFx/test/WixToolsetTest.Netfx/NetfxExtensionFixture.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.Netfx | 7 | namespace WixToolsetTest.Netfx |
| 4 | { | 8 | { |
| 5 | using System.IO; | 9 | using System.IO; |
