From 4b18d8b82a09300a3f5cd6dda2bf92a4cd96d901 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 14 Mar 2019 18:49:42 +0000 Subject: [PATCH] Give more info about SKIPs git-svn-id: http://svn.osgeo.org/postgis/trunk@17343 b70326c6-7e19-0410-871a-916f4a2858ee --- utils/check_all_upgrades.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/check_all_upgrades.sh b/utils/check_all_upgrades.sh index c3547b040..5363650c2 100755 --- a/utils/check_all_upgrades.sh +++ b/utils/check_all_upgrades.sh @@ -65,14 +65,15 @@ for EXT in ${INSTALLED_EXTENSIONS}; do files=`'ls' ${EXT}--* | grep -v -- '--.*--' | sed "s/^${EXT}--\(.*\)\.sql/\1/"` for fname in unpackaged $files; do from_version="$fname" + UPGRADE_PATH="${from_version}--${to_version}" # only consider versions older than ${to_version} if test $fname != "unpackaged"; then # unpackaged is always older cmp=`semver_compare "${from_version}" "${to_version}"` if test $cmp -ge 0; then + echo "SKIP: upgrade $UPGRADE_PATH (target is not newer than source)" continue fi fi - UPGRADE_PATH="${from_version}--${to_version}" if test -e ${EXT}--${UPGRADE_PATH}.sql; then echo "Testing ${EXT} upgrade $UPGRADE_PATH" export RUNTESTFLAGS="-v --extension --upgrade-path=${UPGRADE_PATH}" -- 2.40.0