From 1a66501af60c59ad04037f2259b16573f3245637 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Fri, 9 Aug 2019 21:55:25 +0000 Subject: [PATCH] Try to get berrie to return fail code if regress fails git-svn-id: http://svn.osgeo.org/postgis/trunk@17679 b70326c6-7e19-0410-871a-916f4a2858ee --- ci/berrie/postgis_regress.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ci/berrie/postgis_regress.sh b/ci/berrie/postgis_regress.sh index 47dfe8a77..9ee1d5175 100644 --- a/ci/berrie/postgis_regress.sh +++ b/ci/berrie/postgis_regress.sh @@ -1,3 +1,4 @@ +#!/bin/bash #bessie is a 32-bit Rasberry Pi managed by Bruce Rindahl ## BRANCH is passed in via jenkins which is set via gitea web hook #export BRANCH=618a67b1d6fc223dd5a4c0b02c824939f21dbd65 @@ -20,11 +21,12 @@ sh autogen.sh ./configure --with-pgconfig=${PGPATH}/bin/pg_config #make clean make - +export err=0 make check RUNTESTFLAGS="-v" make install -make check RUNTESTFLAGS="-v --extension" +make check RUNTESTFLAGS="-v --extension" || $err=1 if [ -d $PGDATA/postmaster.pid ] ; then $PGCTL stop -D $PGDATA -s -m fast -fi \ No newline at end of file +fi +exit $err \ No newline at end of file -- 2.40.0