diff --git a/libc/test/src/string/memory_utils/CMakeLists.txt b/libc/test/src/string/memory_utils/CMakeLists.txt --- a/libc/test/src/string/memory_utils/CMakeLists.txt +++ b/libc/test/src/string/memory_utils/CMakeLists.txt @@ -4,7 +4,6 @@ libc_string_unittests SRCS address_test.cpp - # algorithm_test.cpp backend_test.cpp elements_test.cpp memory_access_test.cpp @@ -18,3 +17,19 @@ 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 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()