[libc-commits] [libc] b66d02e - Revert "[reland] algorithm_test.cpp"
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Fri Jul 1 03:49:13 PDT 2022
Author: Guillaume Chatelet
Date: 2022-07-01T10:48:57Z
New Revision: b66d02eaa0435cf445713c9c8e170584ee097cb5
URL: https://github.com/llvm/llvm-project/commit/b66d02eaa0435cf445713c9c8e170584ee097cb5
DIFF: https://github.com/llvm/llvm-project/commit/b66d02eaa0435cf445713c9c8e170584ee097cb5.diff
LOG: Revert "[reland] algorithm_test.cpp"
This reverts commit 1514acb20f404fa3fe0e20f068b1caf763396176.
Added:
Modified:
libc/test/src/string/memory_utils/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/test/src/string/memory_utils/CMakeLists.txt b/libc/test/src/string/memory_utils/CMakeLists.txt
index d2178da30f9b7..df481ee15a6df 100644
--- a/libc/test/src/string/memory_utils/CMakeLists.txt
+++ b/libc/test/src/string/memory_utils/CMakeLists.txt
@@ -1,19 +1,18 @@
-# These tests are only exercising implementation details
-# - They don't need to be compiled with '-ffreestanding'
-# - They can use C++ facilities like <iostream>.
add_libc_unittest(
- implementation_details_test
+ utils_test
SUITE
libc_string_unittests
SRCS
address_test.cpp
- algorithm_test.cpp
+ # algorithm_test.cpp
backend_test.cpp
elements_test.cpp
memory_access_test.cpp
utils_test.cpp
COMPILE_OPTIONS
${LIBC_COMPILE_OPTIONS_NATIVE}
+ -ffreestanding
+ -pthread
DEPENDS
libc.src.string.memory_utils.memory_utils
libc.src.__support.CPP.array
More information about the libc-commits
mailing list