This commit is contained in:
Thomas Levine 2016-04-11 04:31:15 +00:00
parent 47860e56ce
commit d9ffa53e25
1 changed files with 19 additions and 19 deletions

38
urchin
View File

@ -716,27 +716,27 @@ wantto run urchin on that directory.' >&2
echo >> "${urchin_tmp}"/head echo >> "${urchin_tmp}"/head
start=$("${epoch}") start=$("${epoch}")
return_code=$( while read -r seed; do
echo "${test_seeds}" | while read -r seed; do return_code=$(catch recurse "${root}" "$(fullpath "${seed}")")
catch recurse "${root}" "$(fullpath "${seed}")" if test "${return_code}" -eq 0; then break; fi
test "${return_code}" -eq 0 || break done<<EOF
done|tail -n1 ${test_seeds}
) EOF
finish=$("${epoch}") finish=$("${epoch}")
if test "${return_code}" -le 1; then
# if test "${return_code}" -le 1; then if test -f "${urchin_tmp}"/log ; then
# if test -f "${urchin_tmp}"/log ; then echo Print output.
# echo Print output. # cat "${urchin_tmp}"/head
# # cat "${urchin_tmp}"/head # report_outcome "${root}" "${format}" "${urchin_tmp}"/log "${start}" \
# # report_outcome "${root}" "${format}" "${urchin_tmp}"/log "${start}" \ # "${finish}"
# # "${finish}" # cat "${urchin_tmp}"/foot
# # cat "${urchin_tmp}"/foot else
# else echo 'No tests found' >&2
# echo 'No tests found' >&2 return_code=2
# return_code=2 fi
# fi fi
# fi
rm -Rf "${urchin_tmp}" rm -Rf "${urchin_tmp}"
exit "${return_code}" exit "${return_code}"