[wasm][aot] Enable System.Runtime.Tests (#54960)
authorAnkit Jain <radical@gmail.com>
Thu, 1 Jul 2021 15:27:10 +0000 (11:27 -0400)
committerGitHub <noreply@github.com>
Thu, 1 Jul 2021 15:27:10 +0000 (10:27 -0500)
.. this hasn't crashed in last 14 days on the tracking PR.
- And disable the one failing test with ActiveIssue

src/libraries/System.Runtime/tests/System/Type/TypeTests.cs
src/libraries/tests.proj

index 8f2d141..ca984b4 100644 (file)
@@ -528,6 +528,7 @@ namespace System.Tests
         }
 
         [Fact]
+        [ActiveIssue("https://github.com/dotnet/runtime/issues/52393", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT))]
         public void GetTypeByName_InvokeViaReflection_Success()
         {
             MethodInfo method = typeof(Type).GetMethod("GetType", new[] { typeof(string) });
index c405468..34588fb 100644 (file)
   <ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(BuildAOTTestsOnHelix)' == 'true' and '$(RunDisabledWasmTests)' != 'true' and '$(RunAOTCompilation)' == 'true'">
     <!-- Issue: https://github.com/dotnet/runtime/issues/54194 -->
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.IO.MemoryMappedFiles/tests/System.IO.MemoryMappedFiles.Tests.csproj" />
-
-    <!-- Issue: https://github.com/dotnet/runtime/issues/52393 -->
-    <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Runtime/tests/System.Runtime.Tests.csproj" />
   </ItemGroup>
 
   <ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(BuildAOTTestsOnHelix)' == 'true' and '$(RunDisabledWasmTests)' != 'true'">