[postgis-tickets] r17680 - Try to get berrie to return fail code if regress fails - try 2
Regina Obe
lr at pcorp.us
Fri Aug 9 03:21:13 PDT 2019
Author: robe
Date: 2019-08-09 15:21:12 -0700 (Fri, 09 Aug 2019)
New Revision: 17680
Modified:
trunk/ci/berrie/postgis_regress.sh
Log:
Try to get berrie to return fail code if regress fails - try 2
Modified: trunk/ci/berrie/postgis_regress.sh
===================================================================
--- trunk/ci/berrie/postgis_regress.sh 2019-08-09 21:55:25 UTC (rev 17679)
+++ trunk/ci/berrie/postgis_regress.sh 2019-08-09 22:21:12 UTC (rev 17680)
@@ -21,12 +21,13 @@
./configure --with-pgconfig=${PGPATH}/bin/pg_config
#make clean
make
-export err=0
+export err_status=0
make check RUNTESTFLAGS="-v"
make install
-make check RUNTESTFLAGS="-v --extension" || $err=1
+make check RUNTESTFLAGS="-v --extension"
+err_status=$?
if [ -d $PGDATA/postmaster.pid ] ; then
$PGCTL stop -D $PGDATA -s -m fast
fi
-exit $err
\ No newline at end of file
+exit $err_status
\ No newline at end of file
More information about the postgis-tickets
mailing list