Skip to content

Commit 42a764d

Browse files
authored
[wasm][aot][tests] Enable libraries that have been consistently passing (#54291)
* [wasm][aot][tests] Enable libraries that have been consistently passing .. on the tracking PR. - `System.Linq.Tests` Fixes #51722 - `System.Runtime.Extensions.Tests` - `System.IO.Pipelines.Tests` - the failing tests have been disabled * [wasm][aot][tests] Disable more tests that depend on stacktraces .. in System.Runtime.Tests . The library is still disabled for AOT, because it hasn't been stable only for the last 7 days. * Re-enable System.Runtime.Loader.Tests which is passing now.
1 parent e5c4e14 commit 42a764d

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

src/libraries/System.Runtime/tests/System/ExceptionTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,15 @@ static void RethrowException()
9292
}
9393

9494
[Fact]
95+
[ActiveIssue("https://github.com/dotnet/runtime/issues/50957", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT))]
9596
public static void Exception_TargetSite_OtherMethod()
9697
{
9798
Exception ex = Assert.ThrowsAny<Exception>(() => ThrowException());
9899
Assert.Equal(nameof(ThrowException), ex.TargetSite.Name);
99100
}
100101

101102
[Fact]
103+
[ActiveIssue("https://github.com/dotnet/runtime/issues/50957", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT))]
102104
public static void Exception_TargetSite_Rethrow()
103105
{
104106
Exception ex = Assert.ThrowsAny<Exception>(() => RethrowException());

src/libraries/tests.proj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -276,23 +276,11 @@
276276
</ItemGroup>
277277

278278
<ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(BuildAOTTestsOnHelix)' == 'true' and '$(RunDisabledWasmTests)' != 'true' and '$(RunAOTCompilation)' == 'true'">
279-
<!-- Issue: https://github.com/dotnet/runtime/issues/51722 -->
280-
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Linq\tests\System.Linq.Tests.csproj" />
281-
282-
<!-- Issue: https://github.com/dotnet/runtime/issues/51678 -->
283-
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Runtime.Loader\tests\System.Runtime.Loader.Tests.csproj" />
284-
285-
<!-- Issue: https://github.com/dotnet/runtime/issues/50957 -->
286-
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Runtime.Extensions\tests\System.Runtime.Extensions.Tests.csproj" />
287-
288279
<!-- Issue: https://github.com/dotnet/runtime/issues/52393 -->
289280
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Runtime/tests/System.Runtime.Tests.csproj" />
290281

291282
<!-- Issue: https://github.com/dotnet/runtime/issues/51961 -->
292283
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Text.Json/tests/System.Text.Json.Tests/System.Text.Json.Tests.csproj" />
293-
294-
<!-- Issue: https://github.com/dotnet/runtime/issues/50957 -->
295-
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.IO.Pipelines\tests\System.IO.Pipelines.Tests.csproj" />
296284
</ItemGroup>
297285

298286
<ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(BuildAOTTestsOnHelix)' == 'true' and '$(RunDisabledWasmTests)' != 'true'">

0 commit comments

Comments
 (0)