Make list of test suites overridable in configuration.

This commit is contained in:
Andrew McMillan 2010-11-21 00:52:11 +13:00
parent 9fdaef2bd1
commit 6f87c13cf2

View File

@ -9,6 +9,8 @@ HOSTNAME=regression
# We need to run the regression tests in the timezone they were written for.
export PGTZ=Pacific/Auckland
ALLSUITES="regression-suite binding carddav"
. ./regression.conf
[ -z "${DSN}" ] && DSN="${DBNAME}"
@ -164,7 +166,7 @@ TSTART="`date +%s`"
TCOUNT=0
if [ "${SUITE}" = "all" ]; then
for SUITE in regression-suite binding carddav ; do
for SUITE in ${ALLSUITES} ; do
REGRESSION="tests/${SUITE}"
if [ "${SUITE}" != "regression-suite" ]; then
dump_database