]> granicus.if.org Git - postgis/commitdiff
More debugging outputs from run_test.pl
authorSandro Santilli <strk@kbt.io>
Fri, 19 Jan 2018 16:33:26 +0000 (16:33 +0000)
committerSandro Santilli <strk@kbt.io>
Fri, 19 Jan 2018 16:33:26 +0000 (16:33 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16339 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test.pl

index 8d0e45d96a10869feb50b0436961b12abeffa3ad..d55a9eb88e9b3423bed0242d02e3dca881023e11 100755 (executable)
@@ -1306,6 +1306,9 @@ sub prepare_spatial_extensions
                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 @@ sub prepare_spatial_extensions
                                }
                                $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 ) {