[postgis-tickets] [SCM] PostGIS branch main updated. 3.2.0rc1-4-g2fdb8097b

git at osgeo.org git at osgeo.org
Mon Dec 13 06:02:36 PST 2021


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, main has been updated
       via  2fdb8097b63101b6d160afddd0681abbfcbaca19 (commit)
      from  4f7552e7eff77f23985c4833695ad9931a241a6d (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 2fdb8097b63101b6d160afddd0681abbfcbaca19
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Dec 13 15:02:24 2021 +0100

    Fix `-` handling of run_test.pl

diff --git a/regress/run_test.pl b/regress/run_test.pl
index f5128262f..efef2c8f8 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -394,9 +394,17 @@ foreach $TEST (@ARGV)
 
 	if ( "${TEST}" eq '-' )
 	{
+		my $scriptdir = scriptdir($libver, $OPT_EXTENSIONS);
 		print "-- Entering interactive shell --\n";
 		# TODO: add more variables?
-		my $cmd = "psql -q -v \"regdir=$REGDIR\"";
+		my $cmd = "psql -Xq"
+		  . " -v \"regdir=$REGDIR\""
+		  . " -v \"scriptdir=$scriptdir\""
+		  . " -v \"schema=$OPT_SCHEMA.\""
+		  # TODO: inject search_path somehow
+		  #. " -c \"SET search_path TO public,$OPT_SCHEMA,topology\""
+		  . " ${DB}"
+		;
 		my $rv = system($cmd);
 		print "-- Moving on with tests, if any --\n";
 		next;

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

Summary of changes:
 regress/run_test.pl | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list