[postgis-tickets] r16339 - More debugging outputs from run_test.pl

Sandro Santilli strk at kbt.io
Fri Jan 19 08:33:26 PST 2018


Author: strk
Date: 2018-01-19 08:33:26 -0800 (Fri, 19 Jan 2018)
New Revision: 16339

Modified:
   trunk/regress/run_test.pl
Log:
More debugging outputs from run_test.pl

Modified: trunk/regress/run_test.pl
===================================================================
--- trunk/regress/run_test.pl	2018-01-19 11:13:35 UTC (rev 16338)
+++ trunk/regress/run_test.pl	2018-01-19 16:33:26 UTC (rev 16339)
@@ -1306,6 +1306,9 @@
 		if ( $OPT_UPGRADE_FROM ) {
 			$sql .= " VERSION '" . $OPT_UPGRADE_FROM . "'";
 		}
+
+		print "Preparing db '${DB}' using: ${sql}\n";
+
  		$cmd = "psql $psql_opts -c \"" . $sql . "\" $DB >> $REGRESS_LOG 2>&1";
 		$rv = system($cmd);
   	if ( $rv ) {
@@ -1327,6 +1330,9 @@
 				}
 				$sql .= " VERSION '" . $OPT_UPGRADE_FROM . "'";
 			}
+
+			print "Preparing db '${DB}' using: ${sql}\n";
+
 			$cmd = "psql $psql_opts -c \"" . $sql . "\" $DB >> $REGRESS_LOG 2>&1";
 			$rv = system($cmd);
 			if ( $rv ) {



More information about the postgis-tickets mailing list