[libc-commits] [libc] [libc] Fix unit test compile flags propagation. (PR #106128)

via libc-commits libc-commits at lists.llvm.org
Thu Aug 29 04:05:59 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>
----------------
lntue wrote:

These changes to nan tests are just temporary and will be removed in the following updates.  Their proper fix is in https://github.com/llvm/llvm-project/pull/106468

https://github.com/llvm/llvm-project/pull/106128


More information about the libc-commits mailing list