[libc-commits] [libc] [libc][test] make `str_to_float_comparison_test` independent of C++ headers. (PR #133978)
Muhammad Bassiouni via libc-commits
libc-commits at lists.llvm.org
Fri Apr 4 16:17:35 PDT 2025
================
@@ -317,10 +318,24 @@ function(create_libc_unittest fq_target_name)
target_link_libraries(${fq_build_target_name} PRIVATE ${link_libraries})
if(NOT LIBC_UNITTEST_NO_RUN_POSTBUILD)
+ set(test_cmd ${LIBC_UNITTEST_ENV}
+ ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:${fq_build_target_name}>)
add_custom_target(
${fq_target_name}
- COMMAND ${fq_build_target_name}
----------------
bassiounix wrote:
basically the same thing
https://github.com/llvm/llvm-project/pull/133978
More information about the libc-commits
mailing list