From: Sandro Santilli Date: Sat, 7 Oct 2017 13:39:38 +0000 (+0000) Subject: Report which upgrade failed X-Git-Tag: 2.5.0alpha~438 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=088eb23b3d93241a157d8184acef73203dc94b18;p=postgis Report which upgrade failed git-svn-id: http://svn.osgeo.org/postgis/trunk@15929 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/utils/check_all_upgrades.sh b/utils/check_all_upgrades.sh index d136336ce..0872d7702 100755 --- a/utils/check_all_upgrades.sh +++ b/utils/check_all_upgrades.sh @@ -17,7 +17,10 @@ sed 's/^postgis--\(.*\)\.sql/\1/' | while read fname; do if test -e postgis--${UPGRADE_PATH}.sql; then echo "Testing upgrade $UPGRADE_PATH" export RUNTESTFLAGS="-v --extension --upgrade-path=${UPGRADE_PATH}" - make -C ${BUILDDIR}/regress check || exit 1 + make -C ${BUILDDIR}/regress check || { + echo "Upgrade $UPGRADE_PATH failed" >&2 + exit 1 + } else echo "Missing script for $UPGRADE_PATH upgrade" >&2 fi