ack/first/testsummary.sh
2016-12-01 23:03:30 +01:00

12 lines
194 B
Bash
Executable file

#!/bin/sh
failed=$(find "$@" ! -size 0)
echo ""
echo "$(echo $failed | wc -w) failed tests"
echo ""
for a in $failed; do
echo "**** $a"
cat $a
echo ""
done
exec test "$failed" == ""