From 226455bd10d8b4a0a090449b5b7ebf1e42daf0a5 Mon Sep 17 00:00:00 2001 From: Frederik Seiffert Date: Thu, 24 Aug 2023 15:23:54 +0200 Subject: [PATCH] Tests: disable failing UnexpectedException test on ARM architectures --- Test/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Test/CMakeLists.txt b/Test/CMakeLists.txt index dc4cbbc..f19e366 100644 --- a/Test/CMakeLists.txt +++ b/Test/CMakeLists.txt @@ -34,7 +34,6 @@ set(TESTS ResurrectInDealloc_arc.m RuntimeTest.m SuperMethodMissing.m - UnexpectedException.m WeakBlock_arc.m WeakRefLoad.m WeakReferences_arc.m @@ -80,6 +79,11 @@ if (ENABLE_ALL_OBJC_ARC_TESTS) ) endif() +# UnexpectedException test currently fails on ARM and needs to be fixed +if (NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm|aarch64)") + list(APPEND TESTS UnexpectedException.m) +endif () + # List of single-file tests that won't work with the legacy ABI and so # shouldn't be run in legacy mode. set(NEW_TESTS