summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bertalan <dani@danielbertalan.dev>2023-05-26 08:20:45 +0200
committerAndrew Kaster <andrewdkaster@gmail.com>2023-05-28 05:05:09 -0600
commit65a97ad5030e3d5e5489eb3b488fc16a0102059c (patch)
tree53d161016fc44d89fd167cf394f3c47322914e9f
parent2a2787b1991d38d475f29f0918e78180ddaefd3b (diff)
downloadserenity-65a97ad5030e3d5e5489eb3b488fc16a0102059c.zip
Tests/Kernel: Do not build TestEFault on AArch64
This test currently causes a kernel panic, as we do not handle SafeMem exceptions correctly (beb55f726fbd2a5d68f2a2daa278b70a752abc17).
-rw-r--r--Tests/Kernel/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/Kernel/CMakeLists.txt b/Tests/Kernel/CMakeLists.txt
index e2f7e8875d..eaf085e1b4 100644
--- a/Tests/Kernel/CMakeLists.txt
+++ b/Tests/Kernel/CMakeLists.txt
@@ -38,7 +38,6 @@ target_link_libraries(fuzz-syscalls PRIVATE LibSystem)
serenity_test("crash.cpp" Kernel MAIN_ALREADY_DEFINED)
set(LIBTEST_BASED_SOURCES
- TestEFault.cpp
TestEmptyPrivateInodeVMObject.cpp
TestEmptySharedInodeVMObject.cpp
TestInvalidUIDSet.cpp
@@ -58,6 +57,10 @@ set(LIBTEST_BASED_SOURCES
TestSigWait.cpp
)
+if (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
+ list(APPEND LIBTEST_BASED_SOURCES TestEFault.cpp)
+endif()
+
foreach(libtest_source IN LISTS LIBTEST_BASED_SOURCES)
serenity_test("${libtest_source}" Kernel)
endforeach()