include time in output

This commit is contained in:
Thomas Levine 2016-02-28 16:12:13 +00:00
parent 552873a642
commit d836a40047
1 changed files with 9 additions and 4 deletions

13
urchin
View File

@ -133,9 +133,9 @@ recurse() {
urchin_source teardown_dir
urchin_exit 1
fi
else
fi
done
wait
urchin_source teardown_dir
)
else
@ -271,12 +271,12 @@ report_outcome() {
ok)
# On success, print a green '✓'
printf '\033[32m✓ \033[0m'
echo "${the_shell}"
echo "${the_shell} ($file_elapsed $(plural second $file_elapsed))"
;;
not_ok)
# On not_ok, print a red '✗'
printf '\033[31m✗ \033[0m'
echo "${the_shell}"
echo "${the_shell} ($file_elapsed $(plural second $file_elapsed))"
# Print output captured from not_ok test in red.
printf '\033[31m'
@ -288,7 +288,7 @@ report_outcome() {
if test -z "$the_shell"; then
the_shell='(File is not executable.)'
fi
echo " $the_shell"
echo " ${the_shell} ($file_elapsed $(plural second $file_elapsed))"
;;
esac
fi
@ -473,6 +473,11 @@ if [ "$#" != '1' ] || [ ! -e "$1" ]; then
urchin_exit 11
fi
if $exit_on_not_ok && ! $single_process; then
echo 'You must also pass -b/--series in order to use -e/--exit-on-fail.' >&2
urchin_exit 11
fi
# Run or present the Molly guard.
root="$(urchin_root "$1")"
if basename "$(fullpath "$root")" |