[postgis-tickets] r16147 - add in verbose and logic to drop test database if it exists. Switch to using BRANCH instead of TAG

Regina Obe lr at pcorp.us
Tue Dec 12 10:10:09 PST 2017


Author: robe
Date: 2017-12-12 10:10:09 -0800 (Tue, 12 Dec 2017)
New Revision: 16147

Modified:
   branches/2.3/ci/bessie/postgis_regress.sh
   branches/2.3/ci/bessie32/postgis_regress.sh
Log:
add in verbose and logic to drop test database if it exists.  Switch to using BRANCH instead of TAG

Modified: branches/2.3/ci/bessie/postgis_regress.sh
===================================================================
--- branches/2.3/ci/bessie/postgis_regress.sh	2017-12-12 17:59:02 UTC (rev 16146)
+++ branches/2.3/ci/bessie/postgis_regress.sh	2017-12-12 18:10:09 UTC (rev 16147)
@@ -4,7 +4,8 @@
 make clean
 make
 export PGUSER=postgres
-export PGIS_REG_TMPDIR=~/tmp/pgis_reg_${TAG}
-make check
+export PGIS_REG_TMPDIR=~/tmp/pgis_reg_${BRANCH}
+psql -c "DROP DATABASE IF EXISTS postgis_reg;"
+make check RUNTESTFLAGS="-v"
 sudo make install
-make check RUNTESTFLAGS=--extension
+make check RUNTESTFLAGS="-v --extension"

Modified: branches/2.3/ci/bessie32/postgis_regress.sh
===================================================================
--- branches/2.3/ci/bessie32/postgis_regress.sh	2017-12-12 17:59:02 UTC (rev 16146)
+++ branches/2.3/ci/bessie32/postgis_regress.sh	2017-12-12 18:10:09 UTC (rev 16147)
@@ -4,5 +4,8 @@
 make clean
 make
 export PGUSER=postgres
-export PGIS_REG_TMPDIR=~/tmp/pgis_reg_${TAG}
-make check
+export PGIS_REG_TMPDIR=~/tmp/pgis_reg_${BRANCH}
+psql -c "DROP DATABASE IF EXISTS postgis_reg;"
+make check RUNTESTFLAGS="-v"
+sudo make install
+make check RUNTESTFLAGS="-v --extension"



More information about the postgis-tickets mailing list