Skip to content

Commit 644770d

Browse files
committed
Patch Tests' cmake
1 parent 961cbce commit 644770d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

libc/cmake/modules/LLVMLibCTestRules.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ function(add_libc_test test_name)
873873
endfunction(add_libc_test)
874874

875875
# Tests all implementations that can run on the target CPU.
876-
function(add_libc_multi_impl_test unit_test_only name suite)
876+
function(add_libc_multi_impl_test name suite)
877877
get_property(fq_implementations GLOBAL PROPERTY ${name}_implementations)
878878
foreach(fq_config_name IN LISTS fq_implementations)
879879
get_target_property(required_cpu_features ${fq_config_name} REQUIRE_CPU_FEATURES)

libc/test/src/string/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ add_libc_test(
383383
libc.src.string.memset_explicit
384384
)
385385

386-
add_libc_multi_impl_test(memcmp UNIT_TEST_ONLY libc-string-tests SRCS memcmp_test.cpp)
387-
add_libc_multi_impl_test(memcpy UNIT_TEST_ONLY libc-string-tests SRCS memcpy_test.cpp)
388-
add_libc_multi_impl_test(memmove UNIT_TEST_ONLY libc-string-tests SRCS memmove_test.cpp)
389-
add_libc_multi_impl_test(memset UNIT_TEST_ONLY libc-string-tests SRCS memset_test.cpp)
386+
add_libc_multi_impl_test(memcmp libc-string-tests SRCS UNIT_TEST_ONLY memcmp_test.cpp)
387+
add_libc_multi_impl_test(memcpy libc-string-tests SRCS UNIT_TEST_ONLY memcpy_test.cpp)
388+
add_libc_multi_impl_test(memmove libc-string-tests SRCS UNIT_TEST_ONLY memmove_test.cpp)
389+
add_libc_multi_impl_test(memset libc-string-tests SRCS UNIT_TEST_ONLY memset_test.cpp)

0 commit comments

Comments
 (0)