Make test.sh output more readable

This commit is contained in:
2014-03-20 00:15:24 +00:00
parent 5567a98bb3
commit a99d7003fe

View File

@@ -24,9 +24,11 @@ testfiles="$(find "$testdir" -name "*-test.sh")"
RET=0
for testfile in $testfiles; do
echo ""
echo "running: ${testfile/#$(dirname "$testdir")\//}"
cd "$(dirname "$testfile")"
"$testfile"
if [ "$?" != "0" ]; then RET=1; fi
done
echo ""
exit $RET