[Git][debian-gis-team/postgis][master] debian/tests: Use `pg_buildext installed-versions` to make tests work even if...

Christoph Berg gitlab at salsa.debian.org
Wed Oct 7 22:34:26 BST 2020



Christoph Berg pushed to branch master at Debian GIS Project / postgis


Commits:
68c43f15 by Christoph Berg at 2020-10-07T23:34:17+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.0.2+dfsg-4) 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:33:53 +0200
+
 postgis (3.0.2+dfsg-3) unstable; urgency=medium
 
   * Update packaging for postgresql-13.


=====================================
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
=====================================
@@ -2,7 +2,7 @@
 
 set -eu
 
-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/68c43f157f228f677724c9e317320743db7a1c1b

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/commit/68c43f157f228f677724c9e317320743db7a1c1b
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/89e0090b/attachment-0001.html>


More information about the Pkg-grass-devel mailing list