Print total number of tests run to get a better view of how much is broken.

This commit is contained in:
Tobias Heider 2024-01-23 19:08:44 +01:00 committed by Quentin Carbonneaux
parent 1f69842fb8
commit 2d683e0c53

View file

@ -196,15 +196,17 @@ fi
case "$1" in case "$1" in
"all") "all")
fail=0 fail=0
count=0
for t in $dir/../test/[!_]*.ssa for t in $dir/../test/[!_]*.ssa
do do
once $t once $t
fail=`expr $fail + $?` fail=`expr $fail + $?`
count=`expr $count + 1`
done done
if test $fail -ge 1 if test $fail -ge 1
then then
echo echo
echo "$fail test(s) failed!" echo "$fail of $count tests failed!"
else else
echo echo
echo "All is fine!" echo "All is fine!"