[postgis] 01/03: Correct test suite for non-newest Postgres versions.

Markus Wanner markus_wanner-guest at moszumanska.debian.org
Fri Sep 30 14:39:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

markus_wanner-guest pushed a commit to branch master
in repository postgis.

commit 31d1592fba9edc87d76e1182bff2c85e8522af73
Author: Markus Wanner <markus at bluegap.ch>
Date:   Fri Sep 30 16:34:59 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