diff --git a/tests/introspection/ApiAvailabilityTest.cs b/tests/introspection/ApiAvailabilityTest.cs index a1742f1039..8ef5bc3725 100644 --- a/tests/introspection/ApiAvailabilityTest.cs +++ b/tests/introspection/ApiAvailabilityTest.cs @@ -393,7 +393,7 @@ namespace Introspection { } [Test] -#if IOS || TVOS +#if IOS || TVOS || __MACCATALYST__ [Ignore ("work in progress")] #endif public void LegacyAttributes () diff --git a/tests/introspection/ApiPInvokeTest.cs b/tests/introspection/ApiPInvokeTest.cs index f477ab08b1..c21794b521 100644 --- a/tests/introspection/ApiPInvokeTest.cs +++ b/tests/introspection/ApiPInvokeTest.cs @@ -271,7 +271,7 @@ namespace Introspection // it's not complete (there's many more SDK assemblies) but we cannot add all of them into a single project anyway [Test] -#if __MACCATALYST__ +#if __MACCATALYST__ && !NET [Ignore ("https://github.com/xamarin/xamarin-macios/issues/10883")] #endif public void Corlib () @@ -282,7 +282,7 @@ namespace Introspection } [Test] -#if __MACCATALYST__ +#if __MACCATALYST__ && !NET [Ignore ("https://github.com/xamarin/xamarin-macios/issues/10883")] #endif public void System () @@ -293,7 +293,7 @@ namespace Introspection } [Test] -#if __MACCATALYST__ +#if __MACCATALYST__ && !NET [Ignore ("https://github.com/xamarin/xamarin-macios/issues/10883")] #endif public void SystemCore () diff --git a/tests/xharness/Harness.cs b/tests/xharness/Harness.cs index f917568ca0..3e0a1d18fe 100644 --- a/tests/xharness/Harness.cs +++ b/tests/xharness/Harness.cs @@ -297,7 +297,7 @@ namespace Xharness { IsDotNetProject = true, TargetFrameworkFlavors = MacFlavors.MacCatalyst, Platform = "AnyCPU", - Ignore = true /* always ignored for now, it has known failures */, + Ignore = !ENABLE_DOTNET, }); MacTestProjects.Add (new MacTestProject (Path.GetFullPath (Path.Combine (RootDirectory, "monotouch-test", "dotnet", "macOS", "monotouch-test.csproj"))) {