diff --git a/src/util/CMakeLists.txt b/src/util/CMakeLists.txt index bcbadc26d5603c418d68ca56af0e8fa0b6b63831..27d9e11053f16c70e0bc6cac411c5db43eb93462 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 08983b6c06134dd1426d8fa86488c7e9d8071c28..94b08ca6d7c1e9a6555407dfe7aa870233911d5a 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(); - }