[libc-commits] [libc] 94b5579 - [libc] Add hdrgen tests to the main libc test target (#186113)

via libc-commits libc-commits at lists.llvm.org
Thu Mar 12 07:50:41 PDT 2026


Author: Victor Campos
Date: 2026-03-12T14:50:34Z
New Revision: 94b55794d10b55fa8d607e3b6ae297f9f9627647

URL: https://github.com/llvm/llvm-project/commit/94b55794d10b55fa8d607e3b6ae297f9f9627647
DIFF: https://github.com/llvm/llvm-project/commit/94b55794d10b55fa8d607e3b6ae297f9f9627647.diff

LOG: [libc] Add hdrgen tests to the main libc test target (#186113)

The hdrgen tests are small and quick to run, so there's little harm in
running them under the main test target `check-libc`. Consequently they
will be run by the CI jobs.

Added: 
    

Modified: 
    libc/test/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/CMakeLists.txt b/libc/test/CMakeLists.txt
index beea3ad38466a..bff8e9d82e949 100644
--- a/libc/test/CMakeLists.txt
+++ b/libc/test/CMakeLists.txt
@@ -3,6 +3,10 @@ add_custom_target(libc-unit-tests)
 add_custom_target(libc-hermetic-tests)
 add_dependencies(check-libc libc-unit-tests libc-hermetic-tests)
 
+if (TARGET check-hdrgen)
+  add_dependencies(check-libc check-hdrgen)
+endif()
+
 add_custom_target(exhaustive-check-libc)
 add_custom_target(libc-long-running-tests)
 


        


More information about the libc-commits mailing list