mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
Print total number of tests run to get a better view of how much is broken.
This commit is contained in:
parent
1f69842fb8
commit
2d683e0c53
@ -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!"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user