Skip to content

Commit babf074

Browse files
committed
Change binary path in libc test cmake file from relative to absolute
1 parent 2485c51 commit babf074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/cmake/modules/LLVMLibCTestRules.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ function(create_libc_unittest fq_target_name)
327327
if(NOT LIBC_UNITTEST_NO_RUN_POSTBUILD)
328328
add_custom_target(
329329
${fq_target_name}
330-
COMMAND ${LIBC_UNITTEST_ENV} ${CMAKE_CROSSCOMPILING_EMULATOR} ${fq_build_target_name}
330+
COMMAND ${LIBC_UNITTEST_ENV} ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_CURRENT_BINARY_DIR}/${fq_build_target_name}
331331
COMMENT "Running unit test ${fq_target_name}"
332332
DEPENDS ${fq_build_target_name}
333333
)

0 commit comments

Comments
 (0)