Skip to content

Commit 2df6b08

Browse files
authored
[tests] Remove a few special cases in monotouch-test that no longer apply. (#23985)
1 parent 75c7186 commit 2df6b08

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

tests/monotouch-test/AVFoundation/CaptureMetadataOutputTest.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,6 @@ public void MetadataObjectTypesTest ()
113113
case AVMetadataObjectType.DogBody:
114114
case AVMetadataObjectType.HumanBody:
115115
case AVMetadataObjectType.SalientObject:
116-
// fail *and crash* on iOS 8 (at least on 32bits devices)
117-
if (!TestRuntime.CheckXcodeVersion (11, 0))
118-
continue;
119-
// xcode 12 beta 1 on device
120-
if (TestRuntime.IsDevice && TestRuntime.CheckXcodeVersion (12, 0))
121-
continue;
122116
break;
123117
case AVMetadataObjectType.CodabarCode:
124118
case AVMetadataObjectType.GS1DataBarCode:

tests/monotouch-test/Security/KeyTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,11 @@ public void RoundtripRSA1024OAEP ()
295295
}
296296

297297
[Test]
298-
[Ignore ("crash with Xcode 12")]
299298
public void SignVerifyRSAMinPKCS1SHA1 ()
300299
{
300+
if (RuntimeInformation.ProcessArchitecture == Architecture.X64)
301+
Assert.Ignore ("This test raises a SIGFPE signal which ends up killing the process on x64.");
302+
301303
SecKey private_key;
302304
SecKey public_key;
303305
var label = $"KeyTest.SignVerifyRSAMinPKCS1SHA1-{CFBundle.GetMain ().Identifier}-{GetType ().FullName}-{Process.GetCurrentProcess ().Id}";

0 commit comments

Comments
 (0)