require test

This commit is contained in:
Thomas Levine 2016-04-11 16:27:38 +00:00
parent 6fea07d8cf
commit 81a611dd9b

14
urchin
View File

@ -450,6 +450,7 @@ format_urchin() {
# 1) At least one test failed. # 1) At least one test failed.
# *) Something else went wrong; Urchin should exit with the same code. # *) Something else went wrong; Urchin should exit with the same code.
recurse() { recurse() {
echo "$@"
abs_root="${1}" abs_root="${1}"
abs_requested="${2}" abs_requested="${2}"
abs_current="${3}" abs_current="${3}"
@ -505,9 +506,9 @@ recurse() {
break break
fi fi
# recurse "${abs_root}" "${abs_requested}" "${abs_current}/${test}" \ recurse "${abs_root}" "${abs_requested}" "${abs_current}/${test}" \
# "${run_in_series_root}" "${exit_on_not_ok}" & "${run_in_series_root}" "${exit_on_not_ok}"#&
eval "${meta_finalize}" # eval "${meta_finalize}"
done done
wait wait
@ -547,7 +548,7 @@ recurse() {
>> "${urchin_tmp}"/log >> "${urchin_tmp}"/log
exit "${exit_code}" exit "${exit_code}"
)#& )#&
eval "${meta_finalize}" # eval "${meta_finalize}"
done done
wait wait
fi fi
@ -645,6 +646,11 @@ you don't need to quote the TEST_SHELL variable." >&2
shift shift
done done
if ! is_set test_seeds; then
echo Missing test location >&2
exit 2
fi
if is_set molly && ! is_set force; then if is_set molly && ! is_set force; then
echo 'The root directory of the tests that you are running urchin on echo 'The root directory of the tests that you are running urchin on
doesnot contain the word "test", so I am not running, doesnot contain the word "test", so I am not running,