aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
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()