Don't crash and burn if there are no tests to run.
This commit is contained in:
parent
5fd8d772fd
commit
fac0764621
|
@ -1,6 +1,11 @@
|
|||
#!/bin/sh
|
||||
echo ""
|
||||
|
||||
if [ "$1" = "" ]; then
|
||||
echo "No tests."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
succeeding="$(find "$@" -size 0)"
|
||||
notsucceeding="$(find "$@" ! -size 0)"
|
||||
if [ "$notsucceeding" != "" ]; then
|
||||
|
|
Loading…
Reference in a new issue