[Git][debian-gis-team/postgis][experimental] debian/tests/regress: Makefile.in needs some variables from ./configure.
Christoph Berg
gitlab at salsa.debian.org
Mon Aug 12 14:53:04 BST 2019
Christoph Berg pushed to branch experimental at Debian GIS Project / postgis
Commits:
f3803992 by Christoph Berg at 2019-08-12T13:52:35Z
debian/tests/regress: Makefile.in needs some variables from ./configure.
- - - - -
2 changed files:
- debian/changelog
- debian/tests/regress
Changes:
=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
postgis (3.0.0~alpha4+dfsg-2) UNRELEASED; urgency=medium
* debian/tests: Test postgis_raster extension as well.
+ * debian/tests/regress: Makefile.in needs some variables from ./configure.
-- Christoph Berg <myon at debian.org> Mon, 12 Aug 2019 10:55:44 +0200
=====================================
debian/tests/regress
=====================================
@@ -15,6 +15,9 @@ if [ "$(id -un)" = "root" ]; then
exec su nobody -s /bin/sh "$0" "$@$"
fi
+# Makefile.in needs some variables from ./configure, set the most important ones here
+POSTGIS_GEOS_VERSION="$(dpkg-query -f '${Version}' --show 'libgeos-*.*' | cut -c 1,3)"
+
# clean up on exit
trap "rm -rf /tmp/pgis_reg" EXIT
@@ -22,7 +25,7 @@ trap "rm -rf /tmp/pgis_reg" EXIT
for v in $(pg_buildext supported-versions); do
pg_virtualenv -v $v <<-EOF
set -eux
- make -C regress/core -f Makefile.in check PERL=perl RUNTESTFLAGS="--extension --verbose"
+ make -C regress/core -f Makefile.in check PERL=perl RUNTESTFLAGS="--extension --verbose" POSTGIS_GEOS_VERSION=$POSTGIS_GEOS_VERSION
make -C regress/sfcgal -f Makefile.in check PERL=perl RUNTESTFLAGS="--extension --verbose" HAVE_SFCGAL=yes
EOF
done
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/commit/f3803992ec645292741001fcb2aa83b1a39cac28
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/commit/f3803992ec645292741001fcb2aa83b1a39cac28
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/20190812/abc9575e/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list