From 405c7a18f3f49912cfa3067e80f7e1367ffd1de1 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Mon, 13 Oct 2025 22:35:30 +0200 Subject: [PATCH 1/2] [tests] Remove a few special cases in monotouch-test that no longer apply. --- .../AVFoundation/CaptureMetadataOutputTest.cs | 6 ------ tests/monotouch-test/Security/KeyTest.cs | 1 - 2 files changed, 7 deletions(-) diff --git a/tests/monotouch-test/AVFoundation/CaptureMetadataOutputTest.cs b/tests/monotouch-test/AVFoundation/CaptureMetadataOutputTest.cs index 3385465aaa4a..5aa38f18aa49 100644 --- a/tests/monotouch-test/AVFoundation/CaptureMetadataOutputTest.cs +++ b/tests/monotouch-test/AVFoundation/CaptureMetadataOutputTest.cs @@ -113,12 +113,6 @@ public void MetadataObjectTypesTest () case AVMetadataObjectType.DogBody: case AVMetadataObjectType.HumanBody: case AVMetadataObjectType.SalientObject: - // fail *and crash* on iOS 8 (at least on 32bits devices) - if (!TestRuntime.CheckXcodeVersion (11, 0)) - continue; - // xcode 12 beta 1 on device - if (TestRuntime.IsDevice && TestRuntime.CheckXcodeVersion (12, 0)) - continue; break; case AVMetadataObjectType.CodabarCode: case AVMetadataObjectType.GS1DataBarCode: diff --git a/tests/monotouch-test/Security/KeyTest.cs b/tests/monotouch-test/Security/KeyTest.cs index ce4add46548d..42307606f9d9 100644 --- a/tests/monotouch-test/Security/KeyTest.cs +++ b/tests/monotouch-test/Security/KeyTest.cs @@ -295,7 +295,6 @@ public void RoundtripRSA1024OAEP () } [Test] - [Ignore ("crash with Xcode 12")] public void SignVerifyRSAMinPKCS1SHA1 () { SecKey private_key; From 85b41cd397e898f35ebbb27435fa48ac518cb368 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 14 Oct 2025 14:36:50 +0200 Subject: [PATCH 2/2] x64 only --- tests/monotouch-test/Security/KeyTest.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/monotouch-test/Security/KeyTest.cs b/tests/monotouch-test/Security/KeyTest.cs index 42307606f9d9..c99f2e0a0e2a 100644 --- a/tests/monotouch-test/Security/KeyTest.cs +++ b/tests/monotouch-test/Security/KeyTest.cs @@ -297,6 +297,9 @@ public void RoundtripRSA1024OAEP () [Test] public void SignVerifyRSAMinPKCS1SHA1 () { + if (RuntimeInformation.ProcessArchitecture == Architecture.X64) + Assert.Ignore ("This test raises a SIGFPE signal which ends up killing the process on x64."); + SecKey private_key; SecKey public_key; var label = $"KeyTest.SignVerifyRSAMinPKCS1SHA1-{CFBundle.GetMain ().Identifier}-{GetType ().FullName}-{Process.GetCurrentProcess ().Id}";