aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-10-23 17:42:28 +0300
committergramanas <anastasis.gramm2@gmail.com>2018-10-23 17:42:28 +0300
commit46421fedf6fe291bfcb63482f3bfa9bb2c7fdff6 (patch)
tree53d85f05c362230a428ca5593125ba1a1341799d /CMakeLists.txt
parent410bb2715ce7c9f8d796704395cb44d76e2e884c (diff)
downloadck-46421fedf6fe291bfcb63482f3bfa9bb2c7fdff6.tar.gz
ck-46421fedf6fe291bfcb63482f3bfa9bb2c7fdff6.tar.bz2
ck-46421fedf6fe291bfcb63482f3bfa9bb2c7fdff6.zip
Remove site clutter and rename test folder (tests -> test)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 78a3ab7..4b1bc41 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,7 @@ endif()
# Set project directories
set(SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
set(RES_DIR ${CMAKE_CURRENT_SOURCE_DIR}/res)
-set(TESTS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/tests)
+set(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/test)
set(UNIT_TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/unit)
# configure the info header
@@ -107,14 +107,14 @@ if (CK_TESTS)
target_link_libraries(ck-test ${SQLITE3_LIBRARIES})
# copy test files
- set(BIN_TESTS_DIR ${CMAKE_BINARY_DIR}/res/tests)
+ set(BIN_TEST_DIR ${CMAKE_BINARY_DIR}/res/test)
set(PROJECT_TESTING_GROUNDS ${CMAKE_BINARY_DIR}/test_files)
- configure_file(${TESTS_DIR}/00_init ${BIN_TESTS_DIR}/00_init @ONLY)
- configure_file(${TESTS_DIR}/01_add ${BIN_TESTS_DIR}/01_add @ONLY)
- configure_file(${TESTS_DIR}/02_list ${BIN_TESTS_DIR}/02_list @ONLY)
- configure_file(${TESTS_DIR}/03_delete ${BIN_TESTS_DIR}/03_delete @ONLY)
- configure_file(${TESTS_DIR}/03_delete ${BIN_TESTS_DIR}/03_delete @ONLY)
- configure_file(${TESTS_DIR}/04_search ${BIN_TESTS_DIR}/04_search @ONLY)
+ configure_file(${TEST_DIR}/00_init ${BIN_TEST_DIR}/00_init @ONLY)
+ configure_file(${TEST_DIR}/01_add ${BIN_TEST_DIR}/01_add @ONLY)
+ configure_file(${TEST_DIR}/02_list ${BIN_TEST_DIR}/02_list @ONLY)
+ configure_file(${TEST_DIR}/03_delete ${BIN_TEST_DIR}/03_delete @ONLY)
+ configure_file(${TEST_DIR}/03_delete ${BIN_TEST_DIR}/03_delete @ONLY)
+ configure_file(${TEST_DIR}/04_search ${BIN_TEST_DIR}/04_search @ONLY)
# check_ck
configure_file(${RES_DIR}/test-ck test-ck @ONLY)
endif()