[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-48-g5148c43

git at osgeo.org git at osgeo.org
Tue Jan 26 09:48:51 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, master has been updated
       via  5148c43e378628090098099f63b67297d573a4fe (commit)
      from  ba2f659c001142687caf05a3999501ecd37e307a (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 5148c43e378628090098099f63b67297d573a4fe
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Jan 26 12:48:36 2021 +0100

    Allow run_test.pl to use :regdir in -pre.sql files

diff --git a/regress/run_test.pl b/regress/run_test.pl
index ff7b711..dc1ce00 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -698,7 +698,9 @@ sub run_simple_sql
 
 	# Dump output to a temp file.
 	my $tmpfile = sprintf("%s/test_%s_tmp", $TMPDIR, $RUN);
-	my $cmd = "psql -v \"VERBOSITY=terse\" -tXAq $DB < $sql > $tmpfile 2>&1";
+	my $cmd = "psql -v \"VERBOSITY=terse\" "
+		. " -v \"regdir=$REGDIR\""
+		. " -tXAq $DB < $sql > $tmpfile 2>&1";
 	#print($cmd);
 	my $rv = system($cmd);
 	# Check if psql errored out.

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list