Closed minaevmike closed 7 years ago
make test
runs tests, and this word had begun to be reserved.
Since we do not use generators, it is unlikely to anyhow affect eblob.
but if i undestand correctly this
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b98526e..a43b7bc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_policy (VERSION 2.6.0)
set(CMAKE_SKIP_RPATH FALSE)
set(CMAKE_SKIP_BUILD_RPATH FALSE)
-
+enable_testing()
project (eblob)
FILE (READ "${CMAKE_CURRENT_SOURCE_DIR}/debian/changelog" DEBCHANGELOG)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 709b9d3..93dbd6b 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -18,6 +18,6 @@ target_link_libraries(${TEST_NAME} eblob -lboost_unit_test_framework)
set(TESTS_LIST eblob_stress eblob_cpp_test eblob_crypto_test)
set(TESTS_DEPS ${TESTS_LIST})
-add_custom_target(test
+add_test(NAME test_eblob
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/run_tests.sh"
DEPENDS ${TESTS_DEPS})
run same tests
Looks good to me. If it works with 2.6 and 2.8 cmake, please submit a format pull requuest
Hi! I use cmake 3.5.1(ubuntu 16.04 LTS). When i try to run cmake i have such message
It's just FYI, i think that it's not critical.