[Git][debian-gis-team/postgis][experimental] debian/tests: Use `pg_buildext installed-versions` to make tests work even if...
Christoph Berg
gitlab at salsa.debian.org
Wed Oct 7 22:33:29 BST 2020
Christoph Berg pushed to branch experimental at Debian GIS Project / postgis
Commits:
26ebd41c by Christoph Berg at 2020-10-07T23:33:19+02:00
debian/tests: Use `pg_buildext installed-versions` to make tests work even if the set of supported version has changed.
- - - - -
3 changed files:
- debian/changelog
- debian/tests/regress
- debian/tests/test-extension-creation
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+postgis (3.1.0~alpha2+dfsg-1~exp4) UNRELEASED; urgency=medium
+
+ * debian/tests: Use `pg_buildext installed-versions` to make tests work even
+ if the set of supported version has changed.
+
+ -- Christoph Berg <myon at debian.org> Wed, 07 Oct 2020 23:32:27 +0200
+
postgis (3.1.0~alpha2+dfsg-1~exp3) experimental; urgency=medium
[ Christoph Berg ]
=====================================
debian/tests/regress
=====================================
@@ -29,8 +29,8 @@ fi
# clean up on exit
trap "rm -rf /tmp/pgis_reg" EXIT
-# run the regession tests
-for v in $(pg_buildext supported-versions); do
+# run the regression tests
+for v in $(pg_buildext installed-versions); do
pg_virtualenv -v $v <<-EOF
set -eux
make -C regress/core -f Makefile.in check PERL=perl RUNTESTFLAGS="--extension --verbose" POSTGIS_GEOS_VERSION=$POSTGIS_GEOS_VERSION
=====================================
debian/tests/test-extension-creation
=====================================
@@ -10,7 +10,7 @@ if [ "${ARCH}" = "armel" ] || [ "${ARCH}" = "armhf" ] || [ "${ARCH}" = "mips" ]
exit 77
fi
-for v in $(pg_buildext supported-versions); do
+for v in $(pg_buildext installed-versions); do
pg_virtualenv -v $v sh -e <<-'EOF'
# test extension (fuzzystrmatch is part of postgresql-contrib and is needed by postgis_tiger_geocoder)
for ext in postgis postgis_raster postgis_sfcgal fuzzystrmatch postgis_tiger_geocoder postgis_topology address_standardizer address_standardizer_data_us; do
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/commit/26ebd41c72182c061ebf265ad908a5f0cb5b4642
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/commit/26ebd41c72182c061ebf265ad908a5f0cb5b4642
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20201007/83dd75fb/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list