diff --git a/tests/api-shared/ObjCRuntime/RegistrarTest.cs b/tests/api-shared/ObjCRuntime/RegistrarTest.cs index 7f80a65de763..17c42b66ee8c 100644 --- a/tests/api-shared/ObjCRuntime/RegistrarTest.cs +++ b/tests/api-shared/ObjCRuntime/RegistrarTest.cs @@ -26,6 +26,9 @@ public static Registrars CurrentRegistrar { } [Test] +#if NET + [Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")] +#endif public void IntPtrCtor () { IntPtr ptr = IntPtr.Zero; diff --git a/tests/monotouch-test/ObjCRuntime/ExceptionsTest.cs b/tests/monotouch-test/ObjCRuntime/ExceptionsTest.cs index be78baa41125..6dc418434065 100644 --- a/tests/monotouch-test/ObjCRuntime/ExceptionsTest.cs +++ b/tests/monotouch-test/ObjCRuntime/ExceptionsTest.cs @@ -85,6 +85,9 @@ static void UninstallHandlers () // Simulator/desktop only (except for watchOS, where it works everywhere) [Test] +#if NET + [Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")] +#endif public void ObjCException () { #if !__WATCHOS__ && !__MACOS__ @@ -131,6 +134,9 @@ public override void ThrowManagedException () // Simulator/desktop only test (except for watchOS, where it works everywhere) [Test] +#if NET + [Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")] +#endif public void ManagedExceptionPassthrough () { Exception thrownException = null; diff --git a/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs b/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs index 2c307447dc93..6e4627f9995b 100644 --- a/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs +++ b/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs @@ -433,6 +433,9 @@ public void TestNonVirtualProperty () } [Test] +#if NET + [Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")] +#endif public void TestGeneric () { var g1 = new GenericTestClass (); @@ -1240,6 +1243,9 @@ void ThrowsICEIfDebug (TestDelegate code, string message, bool execute_release_m } [Test] +#if NET + [Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")] +#endif public void TestConstrainedGenericType () { IntPtr value; diff --git a/tests/monotouch-test/ObjCRuntime/RuntimeTest.cs b/tests/monotouch-test/ObjCRuntime/RuntimeTest.cs index affa1014b4ac..1c2b18974f81 100644 --- a/tests/monotouch-test/ObjCRuntime/RuntimeTest.cs +++ b/tests/monotouch-test/ObjCRuntime/RuntimeTest.cs @@ -579,6 +579,9 @@ public void ResurrectedObjectsDisposedTest (Type type) } [Test] +#if NET + [Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")] +#endif public void MX8029 () { var handle = Messaging.IntPtr_objc_msgSend (Messaging.IntPtr_objc_msgSend (Class.GetHandle (typeof (Dummy)), Selector.GetHandle ("alloc")), Selector.GetHandle ("init")); @@ -613,6 +616,9 @@ public void MX8029 () #if DYNAMIC_REGISTRAR [Test] +#if NET + [Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")] +#endif public void MX8029_b () { try { @@ -634,6 +640,9 @@ public void MX8029_b () } [Test] +#if NET + [Ignore ("Ignored on CoreCLR for now due to missing support for marshalling exceptions")] +#endif public void MX8033 () { try {