Try to get berrie to return fail code if regress fails - try 2
authorRegina Obe <lr@pcorp.us>
Fri, 9 Aug 2019 22:21:12 +0000 (22:21 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 9 Aug 2019 22:21:12 +0000 (22:21 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@17680 b70326c6-7e19-0410-871a-916f4a2858ee

ci/berrie/postgis_regress.sh

index 9ee1d5175b130a9ae60d945fa709e6f07dd124f6..de2eecede6fea259137c521539331c5838907ad4 100644 (file)
@@ -21,12 +21,13 @@ sh autogen.sh
 ./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