From afc0f4906ed9891962d1797581afeb5c61e2e3af Mon Sep 17 00:00:00 2001 From: gramanas Date: Sun, 15 Apr 2018 12:53:03 +0300 Subject: rename test script --- CMakeLists.txt | 2 +- README.org | 2 +- src/tests/check_ck | 8 ++++++++ test_ck | 8 -------- 4 files changed, 10 insertions(+), 10 deletions(-) create mode 100755 src/tests/check_ck delete mode 100755 test_ck diff --git a/CMakeLists.txt b/CMakeLists.txt index a0dca2c..dd7040a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,4 +47,4 @@ set(PROJECT_TEST_DIR ${PROJECT_SOURCE_DIR}/tests) set(BIN_TEST_DIR ${CMAKE_BINARY_DIR}/tests) set(PROJECT_TESTING_GROUNDS ${CMAKE_BINARY_DIR}/test_files) configure_file(${PROJECT_TEST_DIR}/init ${BIN_TEST_DIR}/init @ONLY) -configure_file(test_ck test_ck @ONLY) +configure_file(${PROJECT_TEST_DIR}/check_ck check_ck @ONLY) diff --git a/README.org b/README.org index e0555a7..8d9a7b2 100644 --- a/README.org +++ b/README.org @@ -25,5 +25,5 @@ Simply go to the build dir and type. *WARNING!* This will destroy any configurations or databases you might have. (for now) #+BEGIN_SRC sh -./test_ck +./check_ck #+END_SRC diff --git a/src/tests/check_ck b/src/tests/check_ck new file mode 100755 index 0000000..3fd2369 --- /dev/null +++ b/src/tests/check_ck @@ -0,0 +1,8 @@ +#!/bin/bash + +DIR=@BIN_TEST_DIR@ +for i in $( ls $DIR ); do + ERROR="TEST "$i" FAILED:" + PASS="TEST "$i" PASSED" + source $DIR/$i +done diff --git a/test_ck b/test_ck deleted file mode 100755 index 3fd2369..0000000 --- a/test_ck +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -DIR=@BIN_TEST_DIR@ -for i in $( ls $DIR ); do - ERROR="TEST "$i" FAILED:" - PASS="TEST "$i" PASSED" - source $DIR/$i -done -- cgit v1.2.3