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
"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!"