[libc-commits] [libc] [libc][math] implement `signbit` and math macro unit tests (PR #97791)

via libc-commits libc-commits at lists.llvm.org
Sat Jul 13 07:49:10 PDT 2024


================
@@ -79,3 +79,207 @@ add_libc_test(
   DEPENDS
     libc.include.llvm-libc-macros.stdckdint_macros
 )
+
+add_libc_test(
+  signbit_test
+  SUITE
+    libc_include_tests
+  SRCS
+    signbit_test.cpp
+  DEPENDS
+    libc.include.llvm-libc-macros.math_function_macros
+  LINK_LIBRARIES
+    LibcFPTestHelpers
----------------
lntue wrote:

I don't think these tests need anything from `LibcFPTestHelpers`.  Can you remove the `LINK_LIBRARIES` for these tests and see if it's still ok?

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


More information about the libc-commits mailing list