[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha2-113-gebc942d

git at osgeo.org git at osgeo.org
Thu Oct 29 04:15:33 PDT 2020


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  ebc942dccdfb9cb2adb5ff57a056fddebb8add49 (commit)
      from  da7532753681e680fd3de7893f2aeb52f4caf4e2 (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 ebc942dccdfb9cb2adb5ff57a056fddebb8add49
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Oct 29 12:15:00 2020 +0100

    Have raster regress test re-use global checker rule

diff --git a/raster/test/regress/Makefile.in b/raster/test/regress/Makefile.in
index c0b139e..d77a6d6 100644
--- a/raster/test/regress/Makefile.in
+++ b/raster/test/regress/Makefile.in
@@ -1,6 +1,7 @@
 #############################################################################
 #
-# Copyright (c) 2009 Sandro Santilli <strk at kbt.io>, Pierre Racine <pierre.racine at sbf.ulaval.ca>
+# Copyright (c) 2009-2020 Sandro Santilli <strk at kbt.io>
+# Copyright (c) 2009 Pierre Racine <pierre.racine at sbf.ulaval.ca>
 # Copyright (c) 2011 Jorge Arevalo <jorge.arevalo at deimos-space.com>
 # Copyright (c) 2011-2013 Regents of the University of California
 #   <bkpark at ucdavis.edu>
@@ -158,7 +159,7 @@ TEST_LOADER = \
 	loader/TiledAuto \
 	loader/TiledAutoSkipNoData
 
-TESTS = $(TEST_FIRST) \
+RASTER_TESTS := $(TEST_FIRST) \
 	$(TEST_METADATA) $(TEST_IO) $(TEST_BASIC_FUNC) \
 	$(TEST_PROPS) $(TEST_BANDPROPS) \
 	$(TEST_UTILITY) $(TEST_MAPALGEBRA) $(TEST_SREL) \
@@ -179,10 +180,11 @@ rtpostgis.sql: ../../rt_pg/rtpostgis.sql
 	$(PERL) -lpe "s'\\\$$libdir'$(REGRESS_INSTALLDIR)/lib'g" $< > $@
 
 
-check:
-	$(MAKE) -C ../../../regress staged-install
-	$(PERL) ../../../regress/run_test.pl --raster $(RUNTESTFLAGS) $(TESTS)
-	# only run upgrade test if RUNTESTFLAGS was not already doing that
-	if echo "$(RUNTESTFLAGS)" | grep -vq -- --upgrade; then \
-		$(PERL) ../../../regress/run_test.pl --upgrade --raster $(RUNTESTFLAGS) $(TESTS); \
-	fi
+override RUNTESTFLAGS := $(RUNTESTFLAGS) --raster
+
+topsrcdir = $(realpath ../../../)
+
+#include tests.mk
+TESTS += $(patsubst %, $(topsrcdir)/raster/test/regress/%, $(RASTER_TESTS))
+include ../../../regress/runtest.mk
+

-----------------------------------------------------------------------

Summary of changes:
 raster/test/regress/Makefile.in | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list