[postgis] 03/03: Correct test suite for non-newest Postgres versions.
Markus Wanner
markus_wanner-guest at moszumanska.debian.org
Wed Sep 28 15:49:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
markus_wanner-guest pushed a commit to branch pgapt
in repository postgis.
commit ddacceb9a1d3054a5d55f609a8758d36b5902571
Author: Markus Wanner <markus at bluegap.ch>
Date: Wed Sep 28 17:48:55 2016 +0200
Correct test suite for non-newest Postgres versions.
Run 'make check' in the proper subdirectory, add a proper LD_LIBRARY_PATH.
---
debian/rules | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 3ea947b..5f75ddc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -230,9 +230,12 @@ check: build-arch-stamp
# Test against all other Postgres versions
(set -e; \
for PGVER in $(OTHER_POSTGRES_VERSIONS); do \
+ echo "LD_PRELOAD = '$(CURDIR)/debian/build-$$PGVER/liblwgeom/.libs/liblwgeom-$(MAJOR_VERSION).$(MINOR_VERSION).so.$(LIBLWGEOM_SOVERSION)'" \
+ > $(CURDIR)/postgis-check-env.tmp; \
test -z '$(CHECK)' || \
pg_virtualenv -v $$PGVER \
- -c '--environment $(CURDIR)/postgis-check-env.tmp' make check || (\
+ -c '--environment $(CURDIR)/postgis-check-env.tmp' \
+ make -C $(CURDIR)/debian/build-$$PGVER check || (\
for LOGFILE in /tmp/pgis_reg/test_*_diff; do \
echo " ### $$LOGFILE ###"; \
cat $$LOGFILE; \
--
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