From: Sandro Santilli Date: Sat, 20 Jan 2018 12:58:39 +0000 (+0000) Subject: Have Debbie test all available upgrades X-Git-Tag: 2.4.4~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09facb8827029e1ea98c69a7b472df42f086342d;p=postgis Have Debbie test all available upgrades References #2676 for 2.4 branch git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16346 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/ci/debbie/postgis_regress.sh b/ci/debbie/postgis_regress.sh index 7061ce896..6407ed041 100644 --- a/ci/debbie/postgis_regress.sh +++ b/ci/debbie/postgis_regress.sh @@ -67,10 +67,10 @@ if [ "$?" != "0" ]; then fi make check RUNTESTFLAGS=-v +make install if [ "$MAKE_EXTENSION" = "1" ]; then echo "Running extension testing" - make install make check RUNTESTFLAGS=--extension if [ "$?" != "0" ]; then exit $? @@ -79,7 +79,6 @@ fi if [ "$DUMP_RESTORE" = "1" ]; then echo "Dum restore test" - make install make check RUNTESTFLAGS="-v --dumprestore" if [ "$?" != "0" ]; then exit $? @@ -89,4 +88,15 @@ fi if [ "$MAKE_GARDEN" = "1" ]; then echo "Running garden test" make garden + if [ "$?" != "0" ]; then + exit $? + fi +fi + +# Test all available upgrades +# TODO: protect via some variable ? +utils/check_all_upgrades.sh \ + `grep '^POSTGIS_' Version.config | cut -d= -f2 | paste -sd '.'` +if [ "$?" != "0" ]; then + exit $? fi