[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-218-g969f4b716
git at osgeo.org
git at osgeo.org
Thu Jan 13 08:53:58 PST 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 969f4b71682ce790004328360762d183af221da1 (commit)
from 41cc0731ea1c5579a92a811c3cd1ffc8f08cdaf7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 969f4b71682ce790004328360762d183af221da1
Author: Sandro Santilli <strk at kbt.io>
Date: Thu Jan 13 02:28:59 2022 +0100
Allow passing additional run test flags to check_all_upgrades.sh
This may be useful to test upgrades while having postgis function
point to non-existent SO object.
See https://trac.osgeo.org/postgis/ticket/5046#comment:3
diff --git a/utils/check_all_upgrades.sh b/utils/check_all_upgrades.sh
index 80b9231c5..c182569c4 100755
--- a/utils/check_all_upgrades.sh
+++ b/utils/check_all_upgrades.sh
@@ -88,6 +88,8 @@ for EXT in ${INSTALLED_EXTENSIONS}; do
echo "SKIP: don't know where to find regress tests for extension ${EXT}"
fi
+ USERTESTFLAGS=${RUNTESTFLAGS}
+
# Check extension->extension upgrades
files=`'ls' ${EXT}--* | grep -v -- '--.*--' | sed "s/^${EXT}--\(.*\)\.sql/\1/"`
for fname in $files; do
@@ -102,7 +104,7 @@ for EXT in ${INSTALLED_EXTENSIONS}; do
fi
if test -e ${UPGRADE_FILE}; then
echo "Testing ${EXT} upgrade $UPGRADE_PATH"
- export RUNTESTFLAGS="-v --extension --upgrade-path=${UPGRADE_PATH}"
+ RUNTESTFLAGS="-v --extension --upgrade-path=${UPGRADE_PATH} ${USERTESTFLAGS}" \
make -C ${REGDIR} check && {
echo "PASS: upgrade $UPGRADE_PATH"
} || {
@@ -124,7 +126,7 @@ for EXT in ${INSTALLED_EXTENSIONS}; do
continue
fi
echo "Testing ${EXT} upgrade $UPGRADE_PATH"
- export RUNTESTFLAGS="-v --extension --upgrade-path=${UPGRADE_PATH}"
+ RUNTESTFLAGS="-v --extension --upgrade-path=${UPGRADE_PATH} ${USERTESTFLAGS}" \
make -C ${REGDIR} check && {
echo "PASS: upgrade $UPGRADE_PATH"
} || {
-----------------------------------------------------------------------
Summary of changes:
utils/check_all_upgrades.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list