Commit 28e1d124 authored by Karl Wette's avatar Karl Wette
Browse files

Weave: require at least one test that compares against reference results to pass

parent 0deb4d32
......@@ -61,6 +61,7 @@ lalapps_WeaveCompare_SOURCES = \
test_scripts += testWeave_interpolating.sh
test_scripts += testWeave_non_interpolating.sh
test_scripts += testWeave_single_segment.sh
test_scripts += testWeave_reference_results.sh
test_scripts += testWeave_simulate_search.sh
test_scripts += testWeave_cache_max_size.sh
test_scripts += testWeave_checkpointing.sh
......@@ -73,3 +74,6 @@ test_helpers +=
if !CFITSIO
skip_tests += $(test_scripts)
endif
# testWeave_reference_results.sh requires output from tests that compare against reference results
testWeave_reference_results.log: testWeave_interpolating.log testWeave_non_interpolating.log testWeave_single_segment.log
# Require at least one test that compares against reference results to pass
exitcode=1
for test in single_segment interpolating non_interpolating; do
testlog="../testWeave_${test}.log"
teststatus=`tail -n 1 ${testlog}`
echo "${teststatus}"
case "${teststatus}" in
PASS*)
exitcode=0
;;
esac
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment