aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Http
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2025-07-19 22:25:25 -0400
committerBob Arnson <bob@firegiant.com>2025-07-20 20:10:41 -0400
commita4a0818ff7335b5c86b590d1f6e990671c2ef387 (patch)
treeb4a39ab7bcbb1f66ce0dee41dc567b66c85e83ad /src/ext/Http
parentbaf02e973f152ddb7d74d90f505cafc0be17c4fd (diff)
downloadwix-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 'src/ext/Http')
-rw-r--r--src/ext/Http/http_t.proj6
-rw-r--r--src/ext/Http/test/WixToolsetTest.Http/HttpExtensionFixture.cs4
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
3using Microsoft.VisualStudio.TestTools.UnitTesting;
4
5[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]
6
3namespace WixToolsetTest.Http 7namespace WixToolsetTest.Http
4{ 8{
5 using Microsoft.VisualStudio.TestTools.UnitTesting; 9 using Microsoft.VisualStudio.TestTools.UnitTesting;