Skip to content

Commit 239f8b5

Browse files
committed
Enable more passing test assemblies on AOT
1 parent 49c74ee commit 239f8b5

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

eng/testing/tests.mobile.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<PublishTrimmed>true</PublishTrimmed>
1414
<!-- Suppress linker warnings as these are tests -->
1515
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
16-
<NoWarn>$(NoWarn);IL2111;IL2105;IL2025</NoWarn>
16+
<NoWarn>$(NoWarn);IL2103;IL2105;IL2025;IL2111</NoWarn>
1717
<!-- https://github.com/dotnet/sdk/issues/18581 tracks needing to set 2 properties to disable warnings. -->
1818
<EnableTrimAnalyzer>false</EnableTrimAnalyzer>
1919

src/libraries/tests.proj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -236,20 +236,13 @@
236236
<!-- Issue: https://github.com/dotnet/runtime/issues/50724 -->
237237
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Composition\tests\System.Composition.Tests.csproj" />
238238
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Dynamic.Runtime\tests\System.Dynamic.Runtime.Tests.csproj" />
239-
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.Primitives\tests\FunctionalTests\System.Net.Primitives.Functional.Tests.csproj" />
240239
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.DependencyInjection\tests\DI.Tests\Microsoft.Extensions.DependencyInjection.Tests.csproj" />
241240
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Logging.EventSource\tests\Microsoft.Extensions.Logging.EventSource.Tests.csproj" />
242241
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Diagnostics.DiagnosticSource\tests\System.Diagnostics.DiagnosticSource.Tests.csproj" />
243242
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Diagnostics.Tracing/tests/System.Diagnostics.Tracing.Tests.csproj" />
244243

245244
<!-- Issue: https://github.com/dotnet/runtime/issues/51708 -->
246245
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Linq.Expressions\tests\System.Linq.Expressions.Tests.csproj" />
247-
248-
<!-- MarkTypeForDynamicallyAccessedMembers stack overflow https://github.com/mono/linker/issues/1881 -->
249-
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.ComponentModel.Annotations\tests\System.ComponentModel.Annotations.Tests.csproj" />
250-
251-
<!-- IL2103 -->
252-
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.DependencyInjection/tests/DI.External.Tests/Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests.csproj" />
253246
</ItemGroup>
254247

255248
<ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(BrowserHost)' == 'windows' and '$(RunDisabledWasmTestsOnWindows)' != 'true'">

0 commit comments

Comments
 (0)