22 lines · plain
1add_custom_target(libc_sys_prctl_unittests)2 3# Temporarily disable this test while setting up arm and riscv buildbots4# using qemu, since PR_GET_THP_DISABLE is not supported on qemu.5if (NOT (LIBC_TARGET_ARCHITECTURE_IS_ARM OR6 LIBC_TARGET_ARCHITECTURE_IS_RISCV32 OR7 LIBC_TARGET_ARCHITECTURE_IS_RISCV64))8add_libc_unittest(9 prctl_test10 SUITE11 libc_sys_prctl_unittests12 SRCS13 prctl_test.cpp14 DEPENDS15 libc.include.sys_prctl16 libc.src.sys.prctl.prctl17 libc.src.errno.errno18 libc.test.UnitTest.ErrnoCheckingTest19 libc.test.UnitTest.ErrnoSetterMatcher20)21endif()22