[libc-commits] [libc] [libc] Add hdrgen tests to the main libc test target (PR #186113)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Thu Mar 12 05:58:02 PDT 2026
https://github.com/vhscampos created https://github.com/llvm/llvm-project/pull/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.
>From fabd97536465522aadadcfb016fc017b5c4b6517 Mon Sep 17 00:00:00 2001
From: Victor Campos <victor.campos at arm.com>
Date: Wed, 11 Mar 2026 17:11:26 +0000
Subject: [PATCH] [libc] Add hdrgen tests to the main libc test target
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.
---
libc/test/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
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