Skip to content

Commit 8c8f854

Browse files
committed
Disable prctl test when building for arm or riscv
1 parent c706338 commit 8c8f854

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libc/test/src/sys/prctl/linux/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
add_custom_target(libc_sys_prctl_unittests)
22

3+
# Temporarily disable this test while setting up arm and riscv buildbots
4+
# using qemu, since PR_GET_THP_DISABLE is not supported on qemu.
5+
if (NOT (LIBC_TARGET_ARCHITECTURE_IS_ARM OR
6+
LIBC_TARGET_ARCHITECTURE_IS_RISCV32 OR
7+
LIBC_TARGET_ARCHITECTURE_IS_RISCV64))
38
add_libc_unittest(
49
prctl_test
510
SUITE
@@ -13,3 +18,4 @@ add_libc_unittest(
1318
libc.test.UnitTest.ErrnoCheckingTest
1419
libc.test.UnitTest.ErrnoSetterMatcher
1520
)
21+
endif()

0 commit comments

Comments
 (0)