move footer

This commit is contained in:
Thomas Levine 2016-04-10 18:43:58 +00:00
parent 4db468ef2e
commit 34a6276b20
1 changed files with 8 additions and 7 deletions

15
urchin
View File

@ -410,6 +410,14 @@ format_urchin() {
fi
prevpath="${path}"
done
if "${print_margins}"; then
echo
echo "Done, took ${elapsed} $(plural second ${elapsed})."
echo "${oks} $(plural test "${oks}") passed."
echo "${skips} $(plural test "${skips}") skipped."
echo "${not_oks} $(plural test "${not_oks}") failed."
fi
}
# -------------------- Main stuff --------------------
@ -582,13 +590,6 @@ report_outcome() {
echo "# Full test suite took ${elapsed} $(plural second ${elapsed})."
echo 1.."${n}"
elif test "${format}" = urchin; then
if "${print_margins}"; then
echo
echo "Done, took ${elapsed} $(plural second ${elapsed})."
echo "${oks} $(plural test "${oks}") passed."
echo "${skips} $(plural test "${skips}") skipped."
echo "${not_oks} $(plural test "${not_oks}") failed."
fi
fi
test "${not_oks}" -eq '0'
}