Skip to content

Commit 5a27f6c

Browse files
committed
Disable tests failing on ARM
1 parent 55257b0 commit 5a27f6c

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

tests/CMakeLists.txt

+12-11
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ endif()
4040
set_target_properties(check PROPERTIES FOLDER "tests")
4141

4242
add_subdirectory(abi)
43-
add_subdirectory(destructors)
4443
# add_subdirectory(ffmpeg)
4544
add_subdirectory(header_includes)
4645
# add_subdirectory(libusb)
@@ -52,24 +51,26 @@ add_subdirectory(minimal_no_criterion)
5251
# TODO: support C++ namespaces
5352
#add_subdirectory(namespaces)
5453
add_subdirectory(recursion)
55-
add_subdirectory(ro_sharing)
5654
# We don't actually compile the `omit_wrappers` test, but it is picked up by LIT.
5755
add_subdirectory(shared_data)
58-
add_subdirectory(should_segfault)
59-
add_subdirectory(trusted_direct)
60-
add_subdirectory(untrusted_indirect)
61-
add_subdirectory(two_keys_minimal)
62-
add_subdirectory(two_shared_ranges)
6356
add_subdirectory(global_fn_ptr)
6457
add_subdirectory(rewrite_macros)
6558
add_subdirectory(sighandler)
6659

67-
# TODO(#413): Fix these tests
68-
# add_subdirectory(heap_two_keys)
69-
# add_subdirectory(three_keys_minimal)
70-
7160
# The following tests are not supported on ARM64 yet
7261
if (NOT LIBIA2_AARCH64)
62+
# Expected to have compartment violations, but we aren't enforcing yet:
63+
add_subdirectory(destructors)
64+
add_subdirectory(ro_sharing)
65+
add_subdirectory(should_segfault)
66+
add_subdirectory(trusted_direct)
67+
add_subdirectory(untrusted_indirect)
68+
add_subdirectory(two_keys_minimal)
69+
add_subdirectory(two_shared_ranges)
70+
# TODO(#413): Fix these tests
71+
# add_subdirectory(heap_two_keys)
72+
# add_subdirectory(three_keys_minimal)
73+
7374
# strange bug with indirect calls
7475
add_subdirectory(read_config)
7576
# ARM does not support threads yet

0 commit comments

Comments
 (0)