[PATCH] Print total number of tests run to get a better view of how much is broken.
Export this patch
---
This seems to be quite helpful when working on a new backend.
Before: 14 test(s) failed!
After: 14 test(s) of 51 failed!
minor nit: "14 of 51 test(s) failed!" reads better to my ears
tools/test.sh | 4 +++ -
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/test.sh b/tools/test.sh
index fa782c3..b57a024 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 test(s) of $count failed!"
else
echo
echo "All is fine!"
--
2.43.0
[PATCH] Print total number of tests run to get a better view of how much is broken.
Export this patch
---
tools/test.sh | 4 +++ -
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/test.sh b/tools/test.sh
index fa782c3..8c3802a 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 test(s) failed!"
else
echo
echo "All is fine!"
--
2.43.0
Eh, why not? I merged a slightly modified version in master.
Cheers.