12 lines
194 B
Bash
12 lines
194 B
Bash
|
#!/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" == ""
|