From b4154d8ad6a1535b57987fbd5b5facdecc117560 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Mon, 19 Jul 2021 15:45:48 +0800 Subject: [PATCH] [td-255]update cmake files. --- src/util/CMakeLists.txt | 2 +- src/util/tests/arrayTest.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/util/CMakeLists.txt b/src/util/CMakeLists.txt index bcbadc26d5..27d9e11053 100644 --- a/src/util/CMakeLists.txt +++ b/src/util/CMakeLists.txt @@ -6,7 +6,7 @@ INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/sync/inc) INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/rmonotonic/inc) AUX_SOURCE_DIRECTORY(src SRC) -ADD_LIBRARY(tutil ${SRC} tests/arrayTest.cpp) +ADD_LIBRARY(tutil ${SRC}) TARGET_LINK_LIBRARIES(tutil pthread os lz4 z rmonotonic) IF (TD_LINUX) diff --git a/src/util/tests/arrayTest.cpp b/src/util/tests/arrayTest.cpp index 08983b6c06..94b08ca6d7 100644 --- a/src/util/tests/arrayTest.cpp +++ b/src/util/tests/arrayTest.cpp @@ -46,7 +46,5 @@ static void remove_batch_test() { } // namespace TEST(arrayTest, array_list_test) { - remove_batch_test(); - } -- GitLab