---
This seems to be quite helpful when working on a new backend.
Before: 14 test(s) failed!
After: 14 test(s) of 51 failed!
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
On Tue Jan 23, 2024 at 11:04 AM UTC, Tobias Heider wrote:
> 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
On Tue, Jan 23, 2024 at 05:38:41PM +0000, Ember Sawady wrote:
> On Tue Jan 23, 2024 at 11:04 AM UTC, Tobias Heider wrote:> > 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
Right, I agree. I'll send an update.