aboutsummaryrefslogtreecommitdiffstats
path: root/res/check_ck
diff options
context:
space:
mode:
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-07 16:30:53 +0300
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-10-07 16:30:53 +0300
commit73319aae43fdc9d352326948b9481c6ca4ecb00e (patch)
tree59bb2e3cde9618b49b4d00a8b0c4ce85d77720fd /res/check_ck
parent915fcc7dd6e55636aefd5998f6e2c273c2f48344 (diff)
downloadck-73319aae43fdc9d352326948b9481c6ca4ecb00e.tar.gz
ck-73319aae43fdc9d352326948b9481c6ca4ecb00e.tar.bz2
ck-73319aae43fdc9d352326948b9481c6ca4ecb00e.zip
Make test output more friendly to they eyes!
Diffstat (limited to 'res/check_ck')
-rwxr-xr-xres/check_ck15
1 files changed, 6 insertions, 9 deletions
diff --git a/res/check_ck b/res/check_ck
index 437b39b..3f6c618 100755
--- a/res/check_ck
+++ b/res/check_ck
@@ -5,7 +5,7 @@ TEST_LOCATION=$(realpath @PROJECT_TESTING_GROUNDS@)
# used in regression tests
function running {
- echo "--[TESTING $1]--"
+ echo "=> testing $1"
}
# used in regression tests
@@ -36,20 +36,18 @@ function clear_tests {
}
function unit_tests {
- echo -e "################################"
- echo -e "########## Unit Tests ##########"
- echo -e "################################"
+ echo -e "Unit Tests:"
+ echo -e "~~~~~~~~~~~"
./ck-test
}
function regression_tests {
- echo -e "######################################"
- echo -e "########## Regression Tests ##########"
- echo -e "######################################"
+ echo -e "Regression Tests:"
+ echo -e "~~~~~~~~~~~~~~~~~"
DIR=@BIN_TESTS_DIR@
for i in $( ls $DIR ); do
ERROR="TEST "$i" FAILED:"
- PASS="--[TEST "$i" PASSED]--\n"
+ PASS="$i passed\n"
source $DIR/$i
wait $!
done
@@ -61,7 +59,6 @@ function err {
exit 1
}
-
function run {
unit_tests
regression_tests