]> granicus.if.org Git - postgis/commitdiff
Add a drop_rt_band_properties_test script for cleanup purposes
authorSandro Santilli <strk@keybit.net>
Sat, 24 Dec 2011 09:58:25 +0000 (09:58 +0000)
committerSandro Santilli <strk@keybit.net>
Sat, 24 Dec 2011 09:58:25 +0000 (09:58 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8546 b70326c6-7e19-0410-871a-916f4a2858ee

raster/test/regress/Makefile.in
raster/test/regress/drop_rt_band_properties_test.sql [new file with mode: 0644]
raster/test/regress/drop_rt_band_properties_test_expected [new file with mode: 0644]

index a73cdf468f8a7817e7caa15e295d9095d4694936..ca5db8ff0b9f5160000c75639c8cdb06be2207e5 100644 (file)
@@ -77,10 +77,8 @@ TEST_BANDPROPS = \
        rt_valuecount.sql \
        rt_valuepercent.sql \
        rt_bandmetadata.sql \
-       $(NULL)
-
-TEST_PIXEL = \
        rt_pixelvalue.sql \
+       drop_rt_band_properties_test.sql \
        $(NULL)
 
 TEST_UTILITY = \
@@ -127,7 +125,7 @@ TEST_BUGS = \
        bug_test_car5.sql
 
 TESTS = $(TEST_METADATA) $(TEST_IO) $(TEST_FUNC) \
-               $(TEST_PROPS) $(TEST_BANDPROPS) $(TEST_PIXEL) \
+               $(TEST_PROPS) $(TEST_BANDPROPS) \
                $(TEST_UTILITY) $(TEST_GIST) $(TEST_SREL) \
                $(TEST_BUGS)
 
@@ -144,7 +142,7 @@ rtpostgis.sql: ../../rt_pg/rtpostgis.sql
 check: rtpostgis.sql
        $(MAKE) -C ../../../regress postgis.sql staged-install
        $(MAKE) -C ../../rt_pg REGRESS=1 DESTDIR=$(REGRESS_INSTALLDIR) install
-       @USE_VERSION=$(POSTGIS_PGSQL_VERSION) ../../../regress/run_test $(RUNTESTFLAGS) --raster $(TESTS)
+       USE_VERSION=$(POSTGIS_PGSQL_VERSION) ../../../regress/run_test $(RUNTESTFLAGS) --raster $(TESTS)
 
 #all: run_test
 
diff --git a/raster/test/regress/drop_rt_band_properties_test.sql b/raster/test/regress/drop_rt_band_properties_test.sql
new file mode 100644 (file)
index 0000000..455753b
--- /dev/null
@@ -0,0 +1 @@
+DROP TABLE rt_band_properties_test;
diff --git a/raster/test/regress/drop_rt_band_properties_test_expected b/raster/test/regress/drop_rt_band_properties_test_expected
new file mode 100644 (file)
index 0000000..e69de29