[libc-commits] [libc] [libc][test] Condition out tests that can't work on bare metal (PR #215830)
Pavel Labath via libc-commits
libc-commits at lists.llvm.org
Thu Aug 13 13:02:35 PDT 2026
================
@@ -10,6 +10,15 @@ add_custom_target(libc-hermetic-tests-build)
add_custom_target(libc-integration-tests-build)
add_custom_target(libc_include_tests-build)
+# Allow compiled tests to check for the existence of particular headers in this
----------------
labath wrote:
I think it'd be better to have a dedicated macro for what you're trying to achieve (if we need one), instead of full suite of definitions like this. This does not even precisely describe the property you want to capture. We allow targets to customize the set of entry points in a header, so you could hypothetically have a target which defines signal.h, but still does not have all the required libc functions.
https://github.com/llvm/llvm-project/pull/215830
More information about the libc-commits
mailing list