From 46421fedf6fe291bfcb63482f3bfa9bb2c7fdff6 Mon Sep 17 00:00:00 2001 From: gramanas Date: Tue, 23 Oct 2018 17:42:28 +0300 Subject: Remove site clutter and rename test folder (tests -> test) --- CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'CMakeLists.txt') 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() -- cgit v1.2.3