Commit 4b18d8b8 authored by Sandro Santilli's avatar Sandro Santilli

Give more info about SKIPs

git-svn-id: http://svn.osgeo.org/postgis/trunk@17343 b70326c6-7e19-0410-871a-916f4a2858ee
parent febc10f4
Pipeline #51909987 passed with stage
in 25 minutes and 6 seconds
......@@ -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}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment