From aa28fef2d96d0e89b78ad12137f59552c1369c39 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Tue, 2 Apr 2024 10:15:02 +0800 Subject: [PATCH] feat remove async,thread_pool test for arm --- CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 734fbeb..951ba70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ target_include_directories(benchmark_main PUBLIC src/) add_library(sled STATIC "") add_subdirectory(3party/minilua EXCLUDE_FROM_ALL) -add_subdirectory(3party/gperftools EXCLUDE_FROM_ALL) +# add_subdirectory(3party/gperftools EXCLUDE_FROM_ALL) add_subdirectory(3party/asyncplusplus EXCLUDE_FROM_ALL) # add_subdirectory(3party/cppuprofile EXCLUDE_FROM_ALL) # add_subdirectory(3party/protobuf-3.21.12 EXCLUDE_FROM_ALL) @@ -167,7 +167,6 @@ if(SLED_BUILD_TESTS) SRCS src/sled/debugging/demangle_test.cc src/sled/async/async_test.cc - src/sled/any_test.cc src/sled/filesystem/path_test.cc src/sled/log/fmt_test.cc src/sled/synchronization/sequence_checker_test.cc @@ -181,6 +180,12 @@ if(SLED_BUILD_TESTS) src/sled/rx_test.cc src/sled/uri_test.cc) + if(NOT ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "arm") + sled_add_test(NAME sled_async_test SRCS src/sled/async/async_test.cc) + sled_add_test(NAME sled_thread_pool_test SRCS + src/sled/system/thread_pool_test.cc) + endif() + sled_add_test(NAME sled_event_bus_test SRCS src/sled/event_bus/event_bus_test.cc) sled_add_test(NAME sled_lua_test SRCS tests/lua_test.cc)