]> granicus.if.org Git - postgis/commitdiff
Have Debbie test all available upgrades
authorSandro Santilli <strk@kbt.io>
Sat, 20 Jan 2018 12:58:39 +0000 (12:58 +0000)
committerSandro Santilli <strk@kbt.io>
Sat, 20 Jan 2018 12:58:39 +0000 (12:58 +0000)
References #2676 for 2.4 branch

git-svn-id: http://svn.osgeo.org/postgis/branches/2.4@16346 b70326c6-7e19-0410-871a-916f4a2858ee

ci/debbie/postgis_regress.sh

index 7061ce89652776359cf463addd73cb7295d58602..6407ed0415edb1f48c8cbdcf3d98327e1520d97a 100644 (file)
@@ -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