[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.6-11-g21bb44fc1
git at osgeo.org
git at osgeo.org
Fri Aug 12 02:40:53 PDT 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, stable-3.0 has been updated
via 21bb44fc1ddda8db6a87d799ab39f365eb1a8519 (commit)
from 999c3360debcf4f610288e737216dba5272a425b (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 21bb44fc1ddda8db6a87d799ab39f365eb1a8519
Author: Sandro Santilli <strk at kbt.io>
Date: Thu Jan 27 19:21:48 2022 +0100
Replace pre/post machinery of rasters with .tif.ref files
References #5068 in stable-3.0 branch (3.0.7dev)
Fixes regression test broken by upgrading of
run_test.pl in commit a0c29068d
diff --git a/raster/test/regress/loader/Basic-post.pl b/raster/test/regress/loader/Basic-post.pl
deleted file mode 100755
index 0be916086..000000000
--- a/raster/test/regress/loader/Basic-post.pl
+++ /dev/null
@@ -1 +0,0 @@
-unlink "loader/Basic.tif";
diff --git a/raster/test/regress/loader/Basic-pre.pl b/raster/test/regress/loader/Basic-pre.pl
deleted file mode 100755
index 2ee9cd219..000000000
--- a/raster/test/regress/loader/Basic-pre.pl
+++ /dev/null
@@ -1 +0,0 @@
-link "loader/testraster.tif", "loader/Basic.tif";
diff --git a/raster/test/regress/loader/Basic.tif.ref b/raster/test/regress/loader/Basic.tif.ref
new file mode 100644
index 000000000..1e1cc0fc8
--- /dev/null
+++ b/raster/test/regress/loader/Basic.tif.ref
@@ -0,0 +1 @@
+testraster.tif
diff --git a/raster/test/regress/loader/BasicCopy-post.pl b/raster/test/regress/loader/BasicCopy-post.pl
deleted file mode 100755
index 90a74cf77..000000000
--- a/raster/test/regress/loader/BasicCopy-post.pl
+++ /dev/null
@@ -1 +0,0 @@
-unlink "loader/BasicCopy.tif";
diff --git a/raster/test/regress/loader/BasicCopy-pre.pl b/raster/test/regress/loader/BasicCopy-pre.pl
deleted file mode 100755
index ba01f426d..000000000
--- a/raster/test/regress/loader/BasicCopy-pre.pl
+++ /dev/null
@@ -1 +0,0 @@
-link "loader/testraster.tif", "loader/BasicCopy.tif";
diff --git a/raster/test/regress/loader/BasicCopy.tif.ref b/raster/test/regress/loader/BasicCopy.tif.ref
new file mode 100644
index 000000000..1e1cc0fc8
--- /dev/null
+++ b/raster/test/regress/loader/BasicCopy.tif.ref
@@ -0,0 +1 @@
+testraster.tif
diff --git a/raster/test/regress/loader/BasicFilename-post.pl b/raster/test/regress/loader/BasicFilename-post.pl
deleted file mode 100755
index 015e9c3f6..000000000
--- a/raster/test/regress/loader/BasicFilename-post.pl
+++ /dev/null
@@ -1 +0,0 @@
-unlink "loader/BasicFilename.tif";
diff --git a/raster/test/regress/loader/BasicFilename-pre.pl b/raster/test/regress/loader/BasicFilename-pre.pl
deleted file mode 100755
index d5519a453..000000000
--- a/raster/test/regress/loader/BasicFilename-pre.pl
+++ /dev/null
@@ -1 +0,0 @@
-link "loader/testraster.tif", "loader/BasicFilename.tif";
diff --git a/raster/test/regress/loader/BasicFilename.select.expected b/raster/test/regress/loader/BasicFilename.select.expected
index abc84600b..aac51f136 100644
--- a/raster/test/regress/loader/BasicFilename.select.expected
+++ b/raster/test/regress/loader/BasicFilename.select.expected
@@ -2,4 +2,4 @@
POLYGON((0 0,1 0,1 -1,0 -1,0 0))|255
POLYGON((89 -49,90 -49,90 -50,89 -50,89 -49))|0
POLYGON((44 -24,45 -24,45 -25,44 -25,44 -24))|0
-BasicFilename.tif
+testraster.tif
diff --git a/raster/test/regress/loader/BasicFilename.tif.ref b/raster/test/regress/loader/BasicFilename.tif.ref
new file mode 100644
index 000000000..1e1cc0fc8
--- /dev/null
+++ b/raster/test/regress/loader/BasicFilename.tif.ref
@@ -0,0 +1 @@
+testraster.tif
diff --git a/raster/test/regress/loader/BasicOutDB-post.pl b/raster/test/regress/loader/BasicOutDB-post.pl
deleted file mode 100755
index a1fd80796..000000000
--- a/raster/test/regress/loader/BasicOutDB-post.pl
+++ /dev/null
@@ -1,2 +0,0 @@
-unlink "loader/BasicOutDB.tif";
-unlink "loader/BasicOutDB.opts";
diff --git a/raster/test/regress/loader/BasicOutDB-pre.pl b/raster/test/regress/loader/BasicOutDB-pre.pl
deleted file mode 100755
index 03dd84151..000000000
--- a/raster/test/regress/loader/BasicOutDB-pre.pl
+++ /dev/null
@@ -1,12 +0,0 @@
-use File::Basename;
-use Cwd 'abs_path';
-
-my $REGDIR = abs_path(dirname($0));
-my $RASTERDIR = abs_path($REGDIR . "/../raster/test/regress");
-my $FILERASTER = $RASTERDIR . "/loader/testraster.tif";
-
-link "loader/testraster.tif", "loader/BasicOutDB.tif";
-
-open(OPTS, '>', 'loader/BasicOutDB.opts');
-print OPTS "-F -C -R \"$FILERASTER\"\n";
-close(OPTS);
diff --git a/raster/test/regress/loader/BasicOutDB.opts b/raster/test/regress/loader/BasicOutDB.opts
new file mode 100644
index 000000000..08682960f
--- /dev/null
+++ b/raster/test/regress/loader/BasicOutDB.opts
@@ -0,0 +1 @@
+-F -C -R {regdir}/testraster.tif
diff --git a/raster/test/regress/loader/BasicOutDB.tif.ref b/raster/test/regress/loader/BasicOutDB.tif.ref
new file mode 100644
index 000000000..1e1cc0fc8
--- /dev/null
+++ b/raster/test/regress/loader/BasicOutDB.tif.ref
@@ -0,0 +1 @@
+testraster.tif
diff --git a/raster/test/regress/loader/Tiled10x10-post.pl b/raster/test/regress/loader/Tiled10x10-post.pl
deleted file mode 100755
index 207f43021..000000000
--- a/raster/test/regress/loader/Tiled10x10-post.pl
+++ /dev/null
@@ -1 +0,0 @@
-unlink "loader/Tiled10x10.tif";
diff --git a/raster/test/regress/loader/Tiled10x10-pre.pl b/raster/test/regress/loader/Tiled10x10-pre.pl
deleted file mode 100755
index 022dee809..000000000
--- a/raster/test/regress/loader/Tiled10x10-pre.pl
+++ /dev/null
@@ -1 +0,0 @@
-link "loader/testraster.tif", "loader/Tiled10x10.tif";
diff --git a/raster/test/regress/loader/Tiled10x10.tif.ref b/raster/test/regress/loader/Tiled10x10.tif.ref
new file mode 100644
index 000000000..1e1cc0fc8
--- /dev/null
+++ b/raster/test/regress/loader/Tiled10x10.tif.ref
@@ -0,0 +1 @@
+testraster.tif
diff --git a/raster/test/regress/loader/Tiled10x10Copy-post.pl b/raster/test/regress/loader/Tiled10x10Copy-post.pl
deleted file mode 100755
index 20dd6c3e9..000000000
--- a/raster/test/regress/loader/Tiled10x10Copy-post.pl
+++ /dev/null
@@ -1 +0,0 @@
-unlink "loader/Tiled10x10Copy.tif";
diff --git a/raster/test/regress/loader/Tiled10x10Copy-pre.pl b/raster/test/regress/loader/Tiled10x10Copy-pre.pl
deleted file mode 100755
index 32f58348d..000000000
--- a/raster/test/regress/loader/Tiled10x10Copy-pre.pl
+++ /dev/null
@@ -1 +0,0 @@
-link "loader/testraster.tif", "loader/Tiled10x10Copy.tif";
diff --git a/raster/test/regress/loader/Tiled10x10Copy.tif.ref b/raster/test/regress/loader/Tiled10x10Copy.tif.ref
new file mode 100644
index 000000000..1e1cc0fc8
--- /dev/null
+++ b/raster/test/regress/loader/Tiled10x10Copy.tif.ref
@@ -0,0 +1 @@
+testraster.tif
diff --git a/raster/test/regress/loader/Tiled8x8-post.pl b/raster/test/regress/loader/Tiled8x8-post.pl
deleted file mode 100755
index 652b8f652..000000000
--- a/raster/test/regress/loader/Tiled8x8-post.pl
+++ /dev/null
@@ -1 +0,0 @@
-unlink "loader/Tiled8x8.tif";
diff --git a/raster/test/regress/loader/Tiled8x8-pre.pl b/raster/test/regress/loader/Tiled8x8-pre.pl
deleted file mode 100755
index 4a46970ac..000000000
--- a/raster/test/regress/loader/Tiled8x8-pre.pl
+++ /dev/null
@@ -1 +0,0 @@
-link "loader/testraster.tif", "loader/Tiled8x8.tif";
diff --git a/raster/test/regress/loader/Tiled8x8.tif.ref b/raster/test/regress/loader/Tiled8x8.tif.ref
new file mode 100644
index 000000000..1e1cc0fc8
--- /dev/null
+++ b/raster/test/regress/loader/Tiled8x8.tif.ref
@@ -0,0 +1 @@
+testraster.tif
diff --git a/raster/test/regress/loader/TiledAuto-post.pl b/raster/test/regress/loader/TiledAuto-post.pl
deleted file mode 100755
index 97227db32..000000000
--- a/raster/test/regress/loader/TiledAuto-post.pl
+++ /dev/null
@@ -1 +0,0 @@
-unlink "loader/TiledAuto.tif";
diff --git a/raster/test/regress/loader/TiledAuto-pre.pl b/raster/test/regress/loader/TiledAuto-pre.pl
deleted file mode 100755
index 6d05f9c42..000000000
--- a/raster/test/regress/loader/TiledAuto-pre.pl
+++ /dev/null
@@ -1 +0,0 @@
-link "loader/testraster2.tif", "loader/TiledAuto.tif";
diff --git a/raster/test/regress/loader/TiledAuto.tif.ref b/raster/test/regress/loader/TiledAuto.tif.ref
new file mode 100644
index 000000000..a7c066dc8
--- /dev/null
+++ b/raster/test/regress/loader/TiledAuto.tif.ref
@@ -0,0 +1 @@
+testraster2.tif
diff --git a/raster/test/regress/loader/TiledAutoSkipNoData-post.pl b/raster/test/regress/loader/TiledAutoSkipNoData-post.pl
deleted file mode 100755
index 97227db32..000000000
--- a/raster/test/regress/loader/TiledAutoSkipNoData-post.pl
+++ /dev/null
@@ -1 +0,0 @@
-unlink "loader/TiledAuto.tif";
diff --git a/raster/test/regress/loader/TiledAutoSkipNoData-pre.pl b/raster/test/regress/loader/TiledAutoSkipNoData-pre.pl
deleted file mode 100755
index 78c6cfae5..000000000
--- a/raster/test/regress/loader/TiledAutoSkipNoData-pre.pl
+++ /dev/null
@@ -1 +0,0 @@
-link "loader/testraster2.tif", "loader/TiledAutoSkipNoData.tif";
diff --git a/raster/test/regress/loader/TiledAutoSkipNoData.tif.ref b/raster/test/regress/loader/TiledAutoSkipNoData.tif.ref
new file mode 100644
index 000000000..a7c066dc8
--- /dev/null
+++ b/raster/test/regress/loader/TiledAutoSkipNoData.tif.ref
@@ -0,0 +1 @@
+testraster2.tif
-----------------------------------------------------------------------
Summary of changes:
raster/test/regress/loader/Basic-post.pl | 1 -
raster/test/regress/loader/Basic-pre.pl | 1 -
raster/test/regress/loader/Basic.tif.ref | 1 +
raster/test/regress/loader/BasicCopy-post.pl | 1 -
raster/test/regress/loader/BasicCopy-pre.pl | 1 -
raster/test/regress/loader/BasicCopy.tif.ref | 1 +
raster/test/regress/loader/BasicFilename-post.pl | 1 -
raster/test/regress/loader/BasicFilename-pre.pl | 1 -
raster/test/regress/loader/BasicFilename.select.expected | 2 +-
raster/test/regress/loader/BasicFilename.tif.ref | 1 +
raster/test/regress/loader/BasicOutDB-post.pl | 2 --
raster/test/regress/loader/BasicOutDB-pre.pl | 12 ------------
raster/test/regress/loader/BasicOutDB.opts | 1 +
raster/test/regress/loader/BasicOutDB.tif.ref | 1 +
raster/test/regress/loader/Tiled10x10-post.pl | 1 -
raster/test/regress/loader/Tiled10x10-pre.pl | 1 -
raster/test/regress/loader/Tiled10x10.tif.ref | 1 +
raster/test/regress/loader/Tiled10x10Copy-post.pl | 1 -
raster/test/regress/loader/Tiled10x10Copy-pre.pl | 1 -
raster/test/regress/loader/Tiled10x10Copy.tif.ref | 1 +
raster/test/regress/loader/Tiled8x8-post.pl | 1 -
raster/test/regress/loader/Tiled8x8-pre.pl | 1 -
raster/test/regress/loader/Tiled8x8.tif.ref | 1 +
raster/test/regress/loader/TiledAuto-post.pl | 1 -
raster/test/regress/loader/TiledAuto-pre.pl | 1 -
raster/test/regress/loader/TiledAuto.tif.ref | 1 +
raster/test/regress/loader/TiledAutoSkipNoData-post.pl | 1 -
raster/test/regress/loader/TiledAutoSkipNoData-pre.pl | 1 -
raster/test/regress/loader/TiledAutoSkipNoData.tif.ref | 1 +
29 files changed, 11 insertions(+), 31 deletions(-)
delete mode 100755 raster/test/regress/loader/Basic-post.pl
delete mode 100755 raster/test/regress/loader/Basic-pre.pl
create mode 100644 raster/test/regress/loader/Basic.tif.ref
delete mode 100755 raster/test/regress/loader/BasicCopy-post.pl
delete mode 100755 raster/test/regress/loader/BasicCopy-pre.pl
create mode 100644 raster/test/regress/loader/BasicCopy.tif.ref
delete mode 100755 raster/test/regress/loader/BasicFilename-post.pl
delete mode 100755 raster/test/regress/loader/BasicFilename-pre.pl
create mode 100644 raster/test/regress/loader/BasicFilename.tif.ref
delete mode 100755 raster/test/regress/loader/BasicOutDB-post.pl
delete mode 100755 raster/test/regress/loader/BasicOutDB-pre.pl
create mode 100644 raster/test/regress/loader/BasicOutDB.opts
create mode 100644 raster/test/regress/loader/BasicOutDB.tif.ref
delete mode 100755 raster/test/regress/loader/Tiled10x10-post.pl
delete mode 100755 raster/test/regress/loader/Tiled10x10-pre.pl
create mode 100644 raster/test/regress/loader/Tiled10x10.tif.ref
delete mode 100755 raster/test/regress/loader/Tiled10x10Copy-post.pl
delete mode 100755 raster/test/regress/loader/Tiled10x10Copy-pre.pl
create mode 100644 raster/test/regress/loader/Tiled10x10Copy.tif.ref
delete mode 100755 raster/test/regress/loader/Tiled8x8-post.pl
delete mode 100755 raster/test/regress/loader/Tiled8x8-pre.pl
create mode 100644 raster/test/regress/loader/Tiled8x8.tif.ref
delete mode 100755 raster/test/regress/loader/TiledAuto-post.pl
delete mode 100755 raster/test/regress/loader/TiledAuto-pre.pl
create mode 100644 raster/test/regress/loader/TiledAuto.tif.ref
delete mode 100755 raster/test/regress/loader/TiledAutoSkipNoData-post.pl
delete mode 100755 raster/test/regress/loader/TiledAutoSkipNoData-pre.pl
create mode 100644 raster/test/regress/loader/TiledAutoSkipNoData.tif.ref
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list