[postgis-tickets] r16226 - Have Debbie test available upgrades

Sandro Santilli strk at kbt.io
Tue Jan 9 03:03:01 PST 2018


Author: strk
Date: 2018-01-09 03:03:01 -0800 (Tue, 09 Jan 2018)
New Revision: 16226

Modified:
   trunk/ci/debbie/postgis_regress.sh
Log:
Have Debbie test available upgrades

See https://trac.osgeo.org/postgis/ticket/3956#comment:11

Modified: trunk/ci/debbie/postgis_regress.sh
===================================================================
--- trunk/ci/debbie/postgis_regress.sh	2018-01-09 10:32:22 UTC (rev 16225)
+++ trunk/ci/debbie/postgis_regress.sh	2018-01-09 11:03:01 UTC (rev 16226)
@@ -65,7 +65,6 @@
     --without-interrupt-tests \
     --prefix=${PROJECTS}/pg/rel/pg${PG_VER}w${OS_BUILD}
 make clean
-## install so we can later test extension upgrade
 make
 
 if [ "$?" != "0" ]; then
@@ -74,9 +73,11 @@
 
 make check RUNTESTFLAGS=-v
 
+## install so we can test upgrades/dump-restores etc.
+make install
+
 if [ "$MAKE_EXTENSION" = "1" ]; then
  echo "Running extension testing"
- make install
  make check RUNTESTFLAGS=--extension
  if [ "$?" != "0" ]; then
   exit $?
@@ -85,7 +86,6 @@
 
 if [ "$DUMP_RESTORE" = "1" ]; then
  echo "Dum restore test"
- make install
  make check RUNTESTFLAGS="-v --dumprestore"
  if [ "$?" != "0" ]; then
   exit $?
@@ -96,3 +96,7 @@
  echo "Running garden test"
  make garden
 fi
+
+# Test all available upgrades
+# TODO: protect via some variable ?
+utils/check_all_upgrades.sh



More information about the postgis-tickets mailing list