[libc-commits] [libc] [libc] Fix unit test compile flags propagation. (PR #106128)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Mon Aug 26 13:21:09 PDT 2024
================
@@ -54,8 +54,9 @@ TEST_F(LlvmLibcNanf128Test, RandomString) {
}
#if !defined(LIBC_HAVE_ADDRESS_SANITIZER) && defined(LIBC_TARGET_OS_IS_LINUX)
-#include <signal.h>
-TEST_F(LlvmLibcNanf128Test, InvalidInput) {
- EXPECT_DEATH([] { LIBC_NAMESPACE::nanf128(nullptr); }, WITH_SIGNAL(SIGSEGV));
-}
+// #include <signal.h>
----------------
jhuber6 wrote:
Can we use `UNIT_TEST_ONLY` in the CMake?
https://github.com/llvm/llvm-project/pull/106128
More information about the libc-commits
mailing list