From 13e6e03436f9e322d73ba909bc33157185bd4839 Mon Sep 17 00:00:00 2001 From: Yao Yue Date: Fri, 6 Jul 2018 09:28:34 -0700 Subject: [PATCH] create a CMake target for integration test; make test succeeds --- test/CMakeLists.txt | 2 ++ test/integration/CMakeLists.txt | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100644 test/integration/CMakeLists.txt diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 241335d44..5aaeb9eb2 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -6,3 +6,5 @@ add_subdirectory(data_structure) add_subdirectory(protocol) add_subdirectory(hotkey) add_subdirectory(storage) + +add_subdirectory(integration) diff --git a/test/integration/CMakeLists.txt b/test/integration/CMakeLists.txt new file mode 100644 index 000000000..2c1b723dc --- /dev/null +++ b/test/integration/CMakeLists.txt @@ -0,0 +1,7 @@ +set(test_name integration) + +include(FindPythonInterp) + +add_test(NAME ${test_name} + COMMAND ${PYTHON_EXECUTABLE} test_twemcache.py + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})