[libc-commits] [libc] [libc] disable failing include tests (PR #114619)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Fri Nov 1 15:30:43 PDT 2024


https://github.com/nickdesaulniers created https://github.com/llvm/llvm-project/pull/114619

These are failing to link for some buildbots. It's not immediately clear why,
disable these and add a todo to investigate.

Link: #111403
Link: #114566
Link: #114618


>From acf61f04c3ba1045937e2baed20e3beac51e90b6 Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Fri, 1 Nov 2024 15:29:20 -0700
Subject: [PATCH] [libc] disable failing include tests

These are failing to link for some buildbots. It's not immediately clear why,
disable these and add a todo to investigate.

Link: #111403
Link: #114566
Link: #114618
---
 libc/test/include/CMakeLists.txt | 71 ++++++++++++++++----------------
 1 file changed, 36 insertions(+), 35 deletions(-)

diff --git a/libc/test/include/CMakeLists.txt b/libc/test/include/CMakeLists.txt
index 146e43e580670b..ba21a69a31a3b4 100644
--- a/libc/test/include/CMakeLists.txt
+++ b/libc/test/include/CMakeLists.txt
@@ -372,41 +372,42 @@ add_libc_test(
     libc.include.llvm-libc-macros.math_function_macros
 )
 
-add_libc_test(
-  issignaling_c_test
-  C_TEST
-  UNIT_TEST_ONLY
-  SUITE
-    libc_include_tests
-  SRCS
-    issignaling_test.c
-  COMPILE_OPTIONS
-    -Wall
-    -Werror
-  DEPENDS
-    libc.include.llvm-libc-macros.math_function_macros
-    libc.src.math.issignaling
-    libc.src.math.issignalingf
-    libc.src.math.issignalingl
-)
-
-add_libc_test(
-  iscanonical_c_test
-  C_TEST
-  UNIT_TEST_ONLY
-  SUITE
-    libc_include_tests
-  SRCS
-    iscanonical_test.c
-  COMPILE_OPTIONS
-    -Wall
-    -Werror
-  DEPENDS
-    libc.include.llvm-libc-macros.math_function_macros
-    libc.src.math.iscanonical
-    libc.src.math.iscanonicalf
-    libc.src.math.iscanonicall
-)
+# TODO(https://github.com/llvm/llvm-project/issues/114618): fix linkage failures
+# add_libc_test(
+#   issignaling_c_test
+#   C_TEST
+#   UNIT_TEST_ONLY
+#   SUITE
+#     libc_include_tests
+#   SRCS
+#     issignaling_test.c
+#   COMPILE_OPTIONS
+#     -Wall
+#     -Werror
+#   DEPENDS
+#     libc.include.llvm-libc-macros.math_function_macros
+#     libc.src.math.issignaling
+#     libc.src.math.issignalingf
+#     libc.src.math.issignalingl
+# )
+
+# add_libc_test(
+#   iscanonical_c_test
+#   C_TEST
+#   UNIT_TEST_ONLY
+#   SUITE
+#     libc_include_tests
+#   SRCS
+#     iscanonical_test.c
+#   COMPILE_OPTIONS
+#     -Wall
+#     -Werror
+#   DEPENDS
+#     libc.include.llvm-libc-macros.math_function_macros
+#     libc.src.math.iscanonical
+#     libc.src.math.iscanonicalf
+#     libc.src.math.iscanonicall
+# )
 
 add_libc_test(
   isinf_c_test



More information about the libc-commits mailing list