[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-314-g9816b8705

git at osgeo.org git at osgeo.org
Thu Jan 20 06:31:24 PST 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  9816b8705562b4579f60dadd4a626eae9fd09597 (commit)
       via  3cb5301ff51bb2a00f9ea724fa26192b6c58cbde (commit)
      from  3845065b2dac21866859ca1ae7a66c7fe2c74486 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9816b8705562b4579f60dadd4a626eae9fd09597
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Jan 20 14:29:24 2022 +0100

    Fix STAGED_INSTALL_DIR when POSTGIS_TOP_BUILD_DIR is given
    
    References #5060

diff --git a/regress/run_test.pl b/regress/run_test.pl
index 3ef07ea65..21507a565 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -157,7 +157,7 @@ $ENV{"PGOPTIONS"} = $PGOPTIONS;
 my $PATH = $ENV{"PATH"}; # this is useless
 
 # Calculate the regression directory locations
-my $STAGED_INSTALL_DIR = $REGDIR . "/00-regress-install";
+my $STAGED_INSTALL_DIR = $TOP_BUILDDIR . "/regress/00-regress-install";
 my $STAGED_SCRIPTS_DIR = $STAGED_INSTALL_DIR . "/share/contrib/postgis";
 
 my $OBJ_COUNT_PRE = 0;

commit 3cb5301ff51bb2a00f9ea724fa26192b6c58cbde
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Jan 20 14:25:41 2022 +0100

    Fix regress tests of topology built out of tree
    
    References #5060

diff --git a/regress/runtest.mk b/regress/runtest.mk
index 6795bd1b8..888cb3e09 100644
--- a/regress/runtest.mk
+++ b/regress/runtest.mk
@@ -12,6 +12,7 @@
 
 abstopsrcdir := $(realpath $(top_srcdir))
 abssrcdir := $(realpath .)
+abs_top_builddir := $(realpath $(top_builddir))
 
 TESTS := $(patsubst $(topsrcdir)/%,$(abstopsrcdir)/%,$(TESTS))
 TESTS := $(patsubst $(abssrcdir)/%,./%,$(TESTS))
@@ -21,7 +22,7 @@ check-regress:
 	@echo "RUNTESTFLAGS: $(RUNTESTFLAGS)"
 	@echo "RUNTESTFLAGS_INTERNAL: $(RUNTESTFLAGS_INTERNAL)"
 
-	POSTGIS_TOP_BUILD_DIR=$(top_builddir) $(PERL) $(topsrcdir)/regress/run_test.pl $(RUNTESTFLAGS) $(RUNTESTFLAGS_INTERNAL) $(TESTS)
+	POSTGIS_TOP_BUILD_DIR=$(abs_top_builddir) $(PERL) $(topsrcdir)/regress/run_test.pl $(RUNTESTFLAGS) $(RUNTESTFLAGS_INTERNAL) $(TESTS)
 
 	@if echo "$(RUNTESTFLAGS)" | grep -vq -- --upgrade; then \
 		echo "Running upgrade test as RUNTESTFLAGS did not contain that"; \
diff --git a/topology/test/Makefile.in b/topology/test/Makefile.in
index b1df1349b..1636c71c1 100644
--- a/topology/test/Makefile.in
+++ b/topology/test/Makefile.in
@@ -12,6 +12,7 @@
 
 top_srcdir = @top_srcdir@
 srcdir = @srcdir@
+top_builddir = @top_builddir@
 builddir = @builddir@
 
 DATABASE=postgis_topo_regress
@@ -19,6 +20,8 @@ DATABASE=postgis_topo_regress
 PSQL=psql
 PERL=@PERL@
 
+VPATH = $(srcdir)
+
 # MingW hack: rather than use PGSQL_BINDIR directly, we change to the directory and
 # then use "pwd" to return the path. This ensures that the returned path is in MSYS
 # format, otherwise colons in drive letters will break PATH.

-----------------------------------------------------------------------

Summary of changes:
 regress/run_test.pl       | 2 +-
 regress/runtest.mk        | 3 ++-
 topology/test/Makefile.in | 3 +++
 3 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list