[libc-commits] [libc] [libc] Implement lit-based test execution for Libc (PR #178746)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Fri Jan 30 08:06:44 PST 2026
================
@@ -0,0 +1,85 @@
+#===============================================================================
+# Lit Test Infrastructure for LLVM libc
+#
+# This module provides functions to set up lit-based testing for libc.
+#
+# Lit discovers and runs the test executables created by the
+# add_libc_test() infrastructure. No separate build rules are needed.
+#===============================================================================
+
+# Guard against double inclusion
+if(LIBC_LIT_TEST_RULES_INCLUDED)
+ return()
+endif()
+set(LIBC_LIT_TEST_RULES_INCLUDED TRUE)
----------------
kaladron wrote:
Paranoia. =) If it's not needed, I can also remove it.
https://github.com/llvm/llvm-project/pull/178746
More information about the libc-commits
mailing list