[libc-commits] [libc] Enable bare-metal hermetic tests on Arm (PR #207361)

Victor Campos via libc-commits libc-commits at lists.llvm.org
Fri Jul 3 08:38:38 PDT 2026


================
@@ -111,10 +111,15 @@ add_unittest_framework_library(
     libc.hdr.stdint_proxy
 )
 
+set(libc_hermetic_test_support_srcs HermeticTestUtils.cpp)
+if(LIBC_TARGET_OS_IS_BAREMETAL AND LIBC_TARGET_ARCHITECTURE_IS_ARM)
+  list(APPEND libc_hermetic_test_support_srcs ArmBaremetalTestUtils.cpp)
+endif()
+
----------------
vhscampos wrote:

Is `test/UnitTest` the right place for these files? I suggest that you check with others.

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


More information about the libc-commits mailing list