mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Allow exit from regression tests displaying the test just run.
This commit is contained in:
parent
5ec4c33670
commit
761efa42ca
@ -30,12 +30,15 @@ check_result() {
|
||||
echo "======================================="
|
||||
cat "${REGRESSION}/diffs/${TEST}"
|
||||
if [ "${ACCEPT_ALL}" = "" ] ; then
|
||||
read -p "Accept this as new standard result [y/N]? " ACCEPT
|
||||
read -p "Accept this as new standard result [x/y/N]? " ACCEPT
|
||||
else
|
||||
ACCEPT=${ACCEPT_ALL}
|
||||
fi
|
||||
if [ "${ACCEPT}" = "y" ] ; then
|
||||
cp "${RESULTS}/${TEST}" "${REGRESSION}/${TEST}.result"
|
||||
elif [ "${ACCEPT}" = "x" ]; then
|
||||
echo "./dav_test --dsn '${DSN}' --suite regression-suite --case '${TEST}' | ./normalise_result > '${RESULTS}/${TEST}'"
|
||||
exit
|
||||
fi
|
||||
else
|
||||
echo "Test ${TEST} passed OK!"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user