[libc-commits] [libc] [libc] Add hdrgen tests to the main libc test target (PR #186113)
via libc-commits
libc-commits at lists.llvm.org
Thu Mar 12 06:55:28 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Victor Campos (vhscampos)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/186113.diff
1 Files Affected:
- (modified) libc/test/CMakeLists.txt (+4)
``````````diff
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)
``````````
</details>
https://github.com/llvm/llvm-project/pull/186113
More information about the libc-commits
mailing list