[tests] Crashes on Android 64-bit
authorMarek Habersack <grendel@twistedcode.net>
Tue, 7 Jul 2015 20:40:29 +0000 (22:40 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 15 Jul 2015 18:45:42 +0000 (20:45 +0200)
Disable for all other architectures as well, as there's not enough
flexibility in this respect :(

mcs/class/corlib/Test/System/TypedReferenceTest.cs

index 562a1489bfffdd289bc541d482c2a0059a04de22..e753883217b2baa813529670799f65e4e9fbc03a 100644 (file)
@@ -32,6 +32,7 @@ using NUnit.Framework;
 
 namespace MonoTests.System
 {
+#if !MONODROID // Type load segfaults the runtime on ARM64 (https://gist.github.com/grendello/334d06c45376602a9afc)
        [TestFixture]
        public class TypedReferenceTest
        {
@@ -58,7 +59,6 @@ namespace MonoTests.System
                }
 
                [Test]
-               [Category ("AndroidNotWorking")] // Segfault on ARM64
                public void MakeTypedReference ()
                {
                        var o = new CClass () { a = new AStruct () { b = "5" }};
@@ -66,4 +66,5 @@ namespace MonoTests.System
                        Assert.AreEqual ("5", TypedReference.ToObject (r));
                }
        }
+#endif
 }