X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=test%2FCMakeLists.txt;h=523db5be19219081582570fdddbbc472ce4913d0;hb=9f88736f8219b494025465089655609f636bf1d7;hp=6e64777a5a80083c29a720ed42e76b499ae20731;hpb=4b7c2c7987bbac32560395e199fe3879c1fb3991;p=awesomized%2Flibmemcached diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6e64777a..523db5be 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -45,6 +45,8 @@ if(NOT MEMCACHED_BINARY) set(ENV{INVALID_CONFIGURATION} 1) endif() +add_executable(timeout timeout.c) + file(GLOB_RECURSE TESTING_SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp) set(TESTING_ROOT "${CMAKE_CURRENT_BINARY_DIR}") set(SOURCES_ROOT "${CMAKE_SOURCE_DIR}") @@ -66,7 +68,7 @@ if(NOT (thread IN_LIST ENABLE_SANITIZERS)) endif() endif() -add_dependencies(runtests ${CLIENTS}) +add_dependencies(runtests ${CLIENTS} timeout) if(TARGET memaslap) configure_set(HAVE_MEMASLAP 1) add_dependencies(runtests memaslap)