Skip to content

Commit

Permalink
Disable some of the tests for mono
Browse files Browse the repository at this point in the history
• Haven't opened an issue for this yet - will follow up with an issue & commit to add the issue link
  • Loading branch information
hamarb123 committed Aug 22, 2023
1 parent 23381f2 commit 3475a75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libraries/System.Runtime/tests/System/Type/TypeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,8 @@ public static IEnumerable<object[]> GetInterfaceMap_TestData()
}

// Check we have the expected implementation for the level 3 interfaces (abstract explicit implementations - I1.M and I1.G methods)
if (classType.Index >= 3)
bool isMono = typeof(object).Assembly.GetType("Mono.RuntimeStructs") != null; // [ActiveIssue("https://github.com/dotnet/runtime/issues/TODO")]
if (!isMono && classType.Index >= 3)
{
foreach ((Type Type, string MethodNamePrefix) interfaceType in new (Type, string)[]
{
Expand Down

0 comments on commit 3475a75

Please sign in to comment.