[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-261-g233212856
git at osgeo.org
git at osgeo.org
Sun Jan 16 14:03:40 PST 2022
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 23321285607bc08fc50ea02d5f57af2270f91116 (commit)
from 9b186c4d3d23029f7164c54c9c6add440987cf3b (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 23321285607bc08fc50ea02d5f57af2270f91116
Author: Sandro Santilli <strk at kbt.io>
Date: Sun Jan 16 23:02:05 2022 +0100
Revert "run_test.pl: include upgrade errors when in verbose mode"
This reverts commit 9b186c4d3d23029f7164c54c9c6add440987cf3b.
I was wrong, verbose mode already shows it
diff --git a/regress/run_test.pl b/regress/run_test.pl
index a286540bb..9810a81d7 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -309,24 +309,22 @@ if ( $OPT_UPGRADE )
foreach my $hook (@OPT_HOOK_BEFORE_UPGRADE)
{
print "Running before-upgrade-script $hook\n";
- fail("before-upgrade-script $hook", $REGRESS_LOG)
- unless load_sql_file($hook, 1);
+ die unless load_sql_file($hook, 1);
}
- if ( $OPT_EXTENSIONS )
- {
- upgrade_spatial_extensions();
- }
- else
- {
- upgrade_spatial();
- }
+ if ( $OPT_EXTENSIONS )
+ {
+ upgrade_spatial_extensions();
+ }
+ else
+ {
+ upgrade_spatial();
+ }
foreach my $hook (@OPT_HOOK_AFTER_UPGRADE)
{
print "Running after-upgrade-script $hook\n";
- fail("after-upgrade-script $hook", $REGRESS_LOG)
- unless load_sql_file($hook, 1);
+ die unless load_sql_file($hook, 1);
}
# Update libver
@@ -1542,31 +1540,27 @@ sub upgrade_spatial
my $script = "${STAGED_SCRIPTS_DIR}/postgis_upgrade.sql";
print "Upgrading core\n";
- fail('core upgrading', $REGRESS_LOG)
- unless load_sql_file($script, 1);
+ die unless load_sql_file($script, 1);
if ( $OPT_WITH_TOPO )
{
$script = "${STAGED_SCRIPTS_DIR}/topology_upgrade.sql";
print "Upgrading topology\n";
- fail('topology upgrade', $REGRESS_LOG)
- unless load_sql_file($script, 1);
+ die unless load_sql_file($script, 1);
}
if ( $OPT_WITH_RASTER )
{
$script = "${STAGED_SCRIPTS_DIR}/rtpostgis_upgrade.sql";
print "Upgrading raster\n";
- fail('raster upgrade', $REGRESS_LOG)
- unless load_sql_file($script, 1);
+ die unless load_sql_file($script, 1);
}
if ( $OPT_WITH_SFCGAL )
{
$script = "${STAGED_SCRIPTS_DIR}/sfcgal_upgrade.sql";
print "Upgrading sfcgal\n";
- fail('sfcgal upgrade', $REGRESS_LOG)
- unless load_sql_file($script, 1);
+ die unless load_sql_file($script, 1);
}
return 1;
-----------------------------------------------------------------------
Summary of changes:
regress/run_test.pl | 34 ++++++++++++++--------------------
1 file changed, 14 insertions(+), 20 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list