This commit is contained in:
Thomas Levine 2016-01-27 01:13:55 +00:00
parent 33e158e8f7
commit 40979f6e18

4
urchin
View File

@ -57,7 +57,7 @@ recurse() {
[ -f teardown ] && [ -x teardown ] && ./teardown >> "$stdout_file"
done
[ -f teardown_dir ] && [ -x teardown_dir ] && ./teardown_dir >> "$stdout_file"
echo
if ! $tap_format; then echo; fi
)
elif [ -x "$potential_test" ]
then
@ -97,7 +97,7 @@ recurse() {
printf '%s\n' "${potential_test}"
printf '%s\n' "${potential_test} failed" >> "$logfile"
printf '\033[31m' # Print output captured from failed test in red.
cat "$stdout_file"
sed 's/^/# /' "$stdout_file"
printf '\033[0m'
fi
fi