[libc-commits] [libc] [libc] Convert test framework libraries to standard target infrastructure (PR #216931)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Tue Aug 18 10:51:29 PDT 2026


================
@@ -273,7 +273,9 @@ function(create_libc_unittest fq_target_name)
   endif()
 
   get_fq_deps_list(fq_deps_list ${LIBC_UNITTEST_DEPENDS})
-  if(NOT LIBC_UNITTEST_C_TEST)
+  if(LIBC_UNITTEST_C_TEST)
+    list(APPEND fq_deps_list libc.test.UnitTest.LibcCTest)
----------------
vonosmas wrote:

Consider merging the two places where you adjust fq_deps_list based on LIBC_UNITTEST_C_TEST value (this one, and lines 303-306 below).

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


More information about the libc-commits mailing list