Tests/Kernel: Do not build TestEFault on AArch64

This test currently causes a kernel panic, as we do not handle SafeMem
exceptions correctly (beb55f726f).
This commit is contained in:
Daniel Bertalan 2023-05-26 08:20:45 +02:00 committed by Andrew Kaster
parent 2a2787b199
commit 65a97ad503
Notes: sideshowbarker 2024-07-17 05:58:46 +09:00

View File

@ -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()