From 65aff439d5ae0d9f4ec3cb69db1659cf58790b93 Mon Sep 17 00:00:00 2001 From: Ayrton Munoz Date: Tue, 28 May 2024 11:13:49 -0400 Subject: [PATCH] cmake: Enable threads tests --- tests/CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index fb3997b70..2d56996b4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -61,7 +61,8 @@ add_subdirectory(sighandler) add_subdirectory(simple1) add_subdirectory(static_addr_taken) add_subdirectory(structs) - +add_subdirectory(threads) +add_subdirectory(protected_threads) # The following tests are not supported on ARM64 yet if (NOT LIBIA2_AARCH64) # Expected to have compartment violations, but we aren't enforcing yet: @@ -79,12 +80,10 @@ if (NOT LIBIA2_AARCH64) # test calls PKRU-specific functions add_subdirectory(mmap_loop) + + # test calls PKRU-specific functions for logging add_subdirectory(tls_protected) - # ARM does not support threads yet - add_subdirectory(threads) - add_subdirectory(protected_threads) - # no permissive mode on ARM add_subdirectory(permissive_mode) endif()