From 2d683e0c53907ebca9abde876dd87af70719e42d Mon Sep 17 00:00:00 2001 From: Tobias Heider Date: Tue, 23 Jan 2024 19:08:44 +0100 Subject: Print total number of tests run to get a better view of how much is broken. --- tools/test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') 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!" -- cgit 1.4.1