mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-09 15:06:05 +00:00
Ensure the test suite exists before operating on it.
I kept on making typos, so ended up with random directories, this should stop that from happening in future.
This commit is contained in:
parent
fc09febad2
commit
3c1d39ff85
@ -262,6 +262,12 @@ if [ "${SUITE}" = "all" ]; then
|
||||
else
|
||||
echo "Running $SUITE"
|
||||
REGRESSION="tests/${SUITE}"
|
||||
|
||||
if [ ! -d $REGRESSION ]; then
|
||||
echo "There is no test suite called $SUITE, have you made a mistake?"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
run_regression_suite "${SUITE}"
|
||||
fi
|
||||
TFINISH="`date +%s`"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user