Skip to content

Commit

Permalink
[libc] Add a separate algorithm_test.
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D128994
  • Loading branch information
lntue authored and gchatelet committed Jul 4, 2022
1 parent 2ab260e commit 4e6c30c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion libc/test/src/string/memory_utils/CMakeLists.txt
Expand Up @@ -4,7 +4,6 @@ add_libc_unittest(
libc_string_unittests
SRCS
address_test.cpp
# algorithm_test.cpp
backend_test.cpp
elements_test.cpp
memory_access_test.cpp
Expand All @@ -18,3 +17,19 @@ add_libc_unittest(
libc.src.__support.CPP.array
libc.src.__support.CPP.array_ref
)

if(NOT LLVM_LIBC_FULL_BUILD)
# Disabling this unittest in fullbuild mode as #include<sstream> is pulling an
# incomplete pthread implementation from llvm-libc.
add_libc_unittest(
algorithm_test
SUITE
libc_string_unittests
SRCS
algorithm_test.cpp
DEPENDS
libc.src.string.memory_utils.memory_utils
libc.src.__support.CPP.array
libc.src.__support.CPP.array_ref
)
endif()

0 comments on commit 4e6c30c

Please sign in to comment.