[release/7.0.1xx] [tests] Ignore ExceptionsTest.ManagedExceptionPassthrough on ARM64 desktop. (#16590)
Ignore ExceptionsTest.ManagedExceptionPassthrough on ARM64 desktop until we fix the underlying bug. Ref: https://github.com/xamarin/xamarin-macios/issues/16264 Backport of #16384 Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
This commit is contained in:
Родитель
e8858f6f6c
Коммит
9d654dac1a
|
@ -167,6 +167,15 @@ partial class TestRuntime
|
|||
NUnit.Framework.Assert.Ignore (message);
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void AssertNotARM64Desktop (string message = "This test does not run on an ARM64 desktop.")
|
||||
{
|
||||
#if __MACOS__ || __MACCATALYST__
|
||||
if (IsARM64)
|
||||
NUnit.Framework.Assert.Ignore (message);
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void AssertIfSimulatorThenARM64 ()
|
||||
{
|
||||
#if !__MACOS__ && !__MACCATALYST__
|
||||
|
|
|
@ -143,6 +143,9 @@ namespace MonoTouchFixtures.ObjCRuntime {
|
|||
#if !DEBUG && !__WATCHOS__
|
||||
Assert.Ignore ("This test only works in debug mode in the simulator.");
|
||||
#endif
|
||||
|
||||
TestRuntime.AssertNotARM64Desktop ("Exception handling doesn't work on ARM64 desktop: https://github.com/xamarin/xamarin-macios/issues/16264");
|
||||
|
||||
var hasDebugger = global::System.Diagnostics.Debugger.IsAttached;
|
||||
|
||||
InstallHandlers ();
|
||||
|
|
Загрузка…
Ссылка в новой задаче