From ab723c50d7e1b8d3eeaa1ba68f911cd06c409178 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Thu, 10 Apr 2014 09:54:02 +0000 Subject: [PATCH] Allow specifying name of regress database on make check Honours a POSTGIS_REGRESS_DB environment variable git-svn-id: http://svn.osgeo.org/postgis/trunk@12452 b70326c6-7e19-0410-871a-916f4a2858ee --- regress/run_test.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regress/run_test.pl b/regress/run_test.pl index 129362566..622762fc6 100755 --- a/regress/run_test.pl +++ b/regress/run_test.pl @@ -24,7 +24,7 @@ use strict; # Global configuration items ################################################################## -our $DB = "postgis_reg"; +our $DB = $ENV{"POSTGIS_REGRESS_DB"} || "postgis_reg"; our $REGDIR = abs_path(dirname($0)); our $SHP2PGSQL = $REGDIR . "/../loader/shp2pgsql"; our $PGSQL2SHP = $REGDIR . "/../loader/pgsql2shp"; -- 2.50.1