summary refs log tree commit diff
path: root/tools/test.sh
diff options
context:
space:
mode:
authorTobias Heider <me@tobhe.de>2024-01-23 19:08:44 +0100
committerQuentin Carbonneaux <quentin@c9x.me>2024-01-29 10:24:41 +0100
commit2d683e0c53907ebca9abde876dd87af70719e42d (patch)
tree755fe6115d462067a6fa6938ff62d598835a595e /tools/test.sh
parent1f69842fb8bfbd6aecfdf0675a42104a2b1df568 (diff)
downloadroux-2d683e0c53907ebca9abde876dd87af70719e42d.tar.gz
Print total number of tests run to get a better view of how much is broken. v1.2
Diffstat (limited to 'tools/test.sh')
-rwxr-xr-xtools/test.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/test.sh b/tools/test.sh
index fa782c3..23c6663 100755
--- a/tools/test.sh
+++ b/tools/test.sh
@@ -196,15 +196,17 @@ fi
 case "$1" in
 "all")
 	fail=0
+	count=0
 	for t in $dir/../test/[!_]*.ssa
 	do
 		once $t
 		fail=`expr $fail + $?`
+		count=`expr $count + 1`
 	done
 	if test $fail -ge 1
 	then
 		echo
-		echo "$fail test(s) failed!"
+		echo "$fail of $count tests failed!"
 	else
 		echo
 		echo "All is fine!"