[postgis] 01/01: Test all extensions, not just postgis.
Christoph Berg
myon at debian.org
Tue Dec 5 17:31:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
myon pushed a commit to branch master
in repository postgis.
commit 0ffd02f8918a4bf6da6befa335c3eb37e4c40d0f
Author: Christoph Berg <myon at debian.org>
Date: Tue Dec 5 18:29:26 2017 +0100
Test all extensions, not just postgis.
---
debian/changelog | 4 ++++
debian/tests/test-extension-creation | 7 ++++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4236da0..96ad24b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
postgis (2.4.2+dfsg-3) UNRELEASED; urgency=medium
+ [ Bas Couwenberg ]
* Use postgresql-all instead of postgresql-contrib-9.6 in tests/control.
(closes: #883608)
+ [ Christoph Berg ]
+ * Test all extensions, not just postgis.
+
-- Bas Couwenberg <sebastic at debian.org> Tue, 05 Dec 2017 18:23:55 +0100
postgis (2.4.2+dfsg-2) unstable; urgency=medium
diff --git a/debian/tests/test-extension-creation b/debian/tests/test-extension-creation
index 68960e0..e808d9b 100755
--- a/debian/tests/test-extension-creation
+++ b/debian/tests/test-extension-creation
@@ -3,10 +3,11 @@
set -eu
for v in $(pg_buildext supported-versions); do
- pg_virtualenv -v $v sh -e <<-EOF
+ pg_virtualenv -v $v sh -e <<-'EOF'
# test extension
- psql -c 'CREATE EXTENSION postgis'
- psql -c 'DROP EXTENSION postgis'
+ for ext in postgis postgis_sfcgal postgis_tiger_geocoder postgis_topology address_standardizer address_standardizer_data_us; do
+ psql -eXc "CREATE EXTENSION $ext CASCADE"
+ done
EOF
done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/postgis.git
More information about the Pkg-grass-devel
mailing list