From 59e4f2c92962507e2f6edb2ab5d9e684fcbc0aca Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 24 Feb 2024 17:25:26 +1300 Subject: [PATCH] If a test fails, bail out, the state will be indeterminate --- testing/run_regressions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/testing/run_regressions.sh b/testing/run_regressions.sh index 1cc0099e..53af7251 100755 --- a/testing/run_regressions.sh +++ b/testing/run_regressions.sh @@ -259,6 +259,11 @@ run_regression_suite() { ./dav_test --dsn "${DSN}" ${WEBHOST} ${ALTHOST} --suite "${SUITE}" --case "${TEST}" | ./normalise_result > "${RESULTS}/${TEST}" # Fix Vim syntax highlighting by putting an esac here. Silly, huh? + if [ $? -ne 0 ]; then + echo "Test ${TEST} failed execute, aborting" + exit 0 + fi + RESULT=999 SKIPDIFF="" while [ "${RESULT}" -gt 1 ]; do