Skip to content

Commit b8f9b9e

Browse files
MichalStrehovskymichaelgsharp
authored andcommitted
Run System.Net.Http trimming tests with AOT (dotnet#101416)
1 parent d5dda41 commit b8f9b9e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/libraries/System.Net.Http/tests/TrimmingTests/System.Net.Http.TrimmingTests.proj

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<TestConsoleAppSourceFiles Include="DecompressionHandlerTrimmedTest.cs" />
66
<TestConsoleAppSourceFiles Include="HttpClientTest.cs">
77
<SkipOnTestRuntimes>browser-wasm</SkipOnTestRuntimes>
8+
<!-- Checks for presence of managed assemblies on disk -->
9+
<NativeAotIncompatible>true</NativeAotIncompatible>
810
</TestConsoleAppSourceFiles>
911
</ItemGroup>
1012

src/libraries/tests.proj

-1
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,6 @@
650650
<!-- We need to go over these disablements: https://github.com/dotnet/runtime/issues/101228 -->
651651
<ProjectExclusions Condition="'$(RunNativeAotTestApps)' == 'true'" Include="$(MSBuildThisFileDirectory)\System.Linq.Queryable\tests\TrimmingTests\System.Linq.Queryable.TrimmingTests.proj" />
652652
<ProjectExclusions Condition="'$(RunNativeAotTestApps)' == 'true'" Include="$(MSBuildThisFileDirectory)\System.Private.Xml.Linq\tests\TrimmingTests\System.Xml.Linq.TrimmingTests.proj" />
653-
<ProjectExclusions Condition="'$(RunNativeAotTestApps)' == 'true'" Include="$(MSBuildThisFileDirectory)\System.Net.Http\tests\TrimmingTests\System.Net.Http.TrimmingTests.proj" />
654653
<ProjectExclusions Condition="'$(RunNativeAotTestApps)' == 'true'" Include="$(MSBuildThisFileDirectory)\System.Linq.Expressions\tests\TrimmingTests\System.Linq.Expressions.TrimmingTests.proj" />
655654
<ProjectExclusions Condition="'$(RunNativeAotTestApps)' == 'true'" Include="$(MSBuildThisFileDirectory)\System.Private.Xml\tests\TrimmingTests\System.Private.Xml.TrimmingTests.proj" />
656655
<ProjectExclusions Condition="'$(RunNativeAotTestApps)' == 'true'" Include="$(MSBuildThisFileDirectory)\System.Runtime\tests\System.Runtime.Tests\TrimmingTests\System.Runtime.TrimmingTests.proj" />

0 commit comments

Comments
 (0)