Skip to content

Commit

Permalink
cmake: Enable threads tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrtonm committed Oct 31, 2024
1 parent f46bc6c commit 65aff43
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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()

0 comments on commit 65aff43

Please sign in to comment.