aboutsummaryrefslogtreecommitdiffstats
path: root/res/check_ck
diff options
context:
space:
mode:
Diffstat (limited to 'res/check_ck')
-rwxr-xr-xres/check_ck9
1 files changed, 6 insertions, 3 deletions
diff --git a/res/check_ck b/res/check_ck
index 3f6c618..423d3bd 100755
--- a/res/check_ck
+++ b/res/check_ck
@@ -5,7 +5,8 @@ TEST_LOCATION=$(realpath @PROJECT_TESTING_GROUNDS@)
# used in regression tests
function running {
- echo "=> testing $1"
+ echo "[$COUNT/$TOTAL] testing $1"
+ ((++COUNT))
}
# used in regression tests
@@ -45,9 +46,11 @@ function regression_tests {
echo -e "Regression Tests:"
echo -e "~~~~~~~~~~~~~~~~~"
DIR=@BIN_TESTS_DIR@
- for i in $( ls $DIR ); do
+ COUNT=1
+ TOTAL=$(ls $DIR | wc -l)
+ for i in $(ls $DIR); do
ERROR="TEST "$i" FAILED:"
- PASS="$i passed\n"
+ PASS="=> $i passed\n"
source $DIR/$i
wait $!
done