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/Http | |
| 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/Http')
| -rw-r--r-- | src/ext/Http/http_t.proj | 6 | ||||
| -rw-r--r-- | src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ext/Http/http_t.proj b/src/ext/Http/http_t.proj index ddcb64b4..b3de433f 100644 --- a/src/ext/Http/http_t.proj +++ b/src/ext/Http/http_t.proj | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | <Project Sdk="Microsoft.Build.Traversal"> | 4 | <Project Sdk="Microsoft.Build.Traversal"> |
| 5 | <ItemGroup> | 5 | <ItemGroup> |
| 6 | <ProjectReference Include="test\WixToolsetTest.Http\WixToolsetTest.Http.csproj" Targets="Test" /> | 6 | <ProjectReference Include="test\WixToolsetTest.Http\WixToolsetTest.Http.csproj" /> |
| 7 | <ProjectReference Include="wixext\WixToolset.Http.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> | 7 | <ProjectReference Include="wixext\WixToolset.Http.wixext.csproj" Targets="Pack" Properties="NoBuild=true" /> |
| 8 | </ItemGroup> | 8 | </ItemGroup> |
| 9 | 9 | ||
| @@ -14,4 +14,8 @@ | |||
| 14 | 14 | ||
| 15 | <Delete Files="$(ArtifactsFolder)WixToolset.Http.wixext.*.nupkg" /> | 15 | <Delete Files="$(ArtifactsFolder)WixToolset.Http.wixext.*.nupkg" /> |
| 16 | </Target> | 16 | </Target> |
| 17 | |||
| 18 | <Target Name="WixTest"> | ||
| 19 | <MSBuild Projects="test\WixToolsetTest.Http\WixToolsetTest.Http.csproj" Targets="Test" /> | ||
| 20 | </Target> | ||
| 17 | </Project> | 21 | </Project> |
diff --git a/src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs b/src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs index c91ce937..7dcb9086 100644 --- a/src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs +++ b/src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.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.Http | 7 | namespace WixToolsetTest.Http |
| 4 | { | 8 | { |
| 5 | using Microsoft.VisualStudio.TestTools.UnitTesting; | 9 | using Microsoft.VisualStudio.TestTools.UnitTesting; |
