mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Make test.sh output more readable
This commit is contained in:
2
test.sh
2
test.sh
@@ -24,9 +24,11 @@ testfiles="$(find "$testdir" -name "*-test.sh")"
|
|||||||
|
|
||||||
RET=0
|
RET=0
|
||||||
for testfile in $testfiles; do
|
for testfile in $testfiles; do
|
||||||
|
echo ""
|
||||||
echo "running: ${testfile/#$(dirname "$testdir")\//}"
|
echo "running: ${testfile/#$(dirname "$testdir")\//}"
|
||||||
cd "$(dirname "$testfile")"
|
cd "$(dirname "$testfile")"
|
||||||
"$testfile"
|
"$testfile"
|
||||||
if [ "$?" != "0" ]; then RET=1; fi
|
if [ "$?" != "0" ]; then RET=1; fi
|
||||||
done
|
done
|
||||||
|
echo ""
|
||||||
exit $RET
|
exit $RET
|
||||||
|
|||||||
Reference in New Issue
Block a user