Skip to content

Commit

Permalink
Run more test on NativeAOT Linux (#72832)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalStrehovsky authored Jul 29, 2022
1 parent 7d1e1af commit 1c055bb
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions src/libraries/tests.proj
Original file line number Diff line number Diff line change
Expand Up @@ -456,31 +456,19 @@
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.IO.FileSystem\tests\System.IO.FileSystem.Tests.csproj" />
<!--Needs work to get these tests to pass -->
<!--These tests have failures-->
<!-- System.Collection.Immutable running into https://github.com/dotnet/runtime/issues/70012 -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Collections.Immutable\tests\System.Collections.Immutable.Tests.csproj"
Condition="'$(TargetOS)' == 'linux'" />
<!-- Couple trimming related issues. Easy -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Console\tests\System.Console.Tests.csproj"
Condition="'$(TargetOS)' == 'linux'" />
<!-- Test needs to copy .so file: https://github.com/dotnet/runtime/issues/72987 -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.IO.Ports\tests\System.IO.Ports.Tests.csproj"
Condition="'$(TargetOS)' == 'linux'" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Hosting\tests\FunctionalTests\Microsoft.Extensions.Hosting.Functional.Tests.csproj"
Condition="'$(TargetOS)' == 'linux'" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.Http\tests\EnterpriseTests\System.Net.Http.Enterprise.Tests.csproj"
Condition="'$(TargetOS)' == 'linux'" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.Security\tests\EnterpriseTests\System.Net.Security.Enterprise.Tests.csproj"
Condition="'$(TargetOS)' == 'linux'" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Threading.Tasks.Dataflow\tests\System.Threading.Tasks.Dataflow.Tests.csproj"
Condition="'$(TargetOS)' == 'linux'" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Numerics.Vectors\tests\System.Numerics.Vectors.Tests.csproj"
Condition="'$(TargetOS)' == 'linux'" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Linq.Expressions\tests\System.Linq.Expressions.Tests.csproj"
Condition="'$(TargetOS)' == 'linux' and '$(TargetArchitecture)' == 'arm64'" />
<!-- Looks like our xunit runner doesn't respect tests that don't want to be multithreaded -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.NameResolution\tests\FunctionalTests\System.Net.NameResolution.Functional.Tests.csproj"
Condition="'$(TargetOS)' == 'windows'"/>

<!-- Timing out on Linux. GC suspension? -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Collections.Concurrent\tests\System.Collections.Concurrent.Tests.csproj"
Condition="'$(TargetOS)' == 'linux'" />
Condition="'$(TargetOS)' == 'linux' and '$(TargetArchitecture)' == 'arm64'" />

<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Linq\tests\System.Linq.Tests.csproj" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.Http.Json\tests\FunctionalTests\System.Net.Http.Json.Functional.Tests.csproj" />
Expand Down

0 comments on commit 1c055bb

Please sign in to comment.