[libc-commits] [libc] [libc] Disable Death Tests While Hermetic (PR #77388)

via libc-commits libc-commits at lists.llvm.org
Mon Jan 8 15:22:10 PST 2024


michaelrj-google wrote:

Here's the error if you want to look for yourself:
```
/usr/bin/ld: libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.nan_test.__hermetic__.__build__.dir/nan_test.cpp.o: in function `LlvmLibcNanTest_InvalidInput::Run()':
nan_test.cpp:(.text._ZN28LlvmLibcNanTest_InvalidInput3RunEv+0xe): undefined reference to `operator new(unsigned long)'
/usr/bin/ld: nan_test.cpp:(.text._ZN28LlvmLibcNanTest_InvalidInput3RunEv+0x53): undefined reference to `__llvm_libc____::testing::Test::testProcessKilled(__llvm_libc____::testutils::FunctionCaller*, int, char const*, char const*, __llvm_libc____::testing::internal::Location)'
```

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


More information about the libc-commits mailing list