]> granicus.if.org Git - postgis/commitdiff
Clean up raster regression and move loader regression directory.
authorBborie Park <bkpark at ucdavis.edu>
Tue, 7 Feb 2012 22:05:05 +0000 (22:05 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Tue, 7 Feb 2012 22:05:05 +0000 (22:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9077 b70326c6-7e19-0410-871a-916f4a2858ee

raster/test/Makefile.in
raster/test/core/testapi.c
raster/test/regress/Makefile.in
raster/test/regress/loader/testraster.tif [moved from raster/test/loader/testraster.tif with 100% similarity]

index 5d3a457325fe3b45f78b43b611d7a1a75d0375d8..263c40edbd66b438272ccb5702695ec09b0c1534 100644 (file)
@@ -12,15 +12,12 @@ RT_CORE=../rt_core
 
 all: check
 
-core-check: $(RT_CORE)/librtcore.a
+core-check:
        $(MAKE) -C core check
 
 check: core-check
        $(MAKE) -C regress check
 
-$(RT_CORE)/librtcore.a:
-       $(MAKE) -C $(RT_CORE)
-
 clean:
        $(MAKE) -C core $@
        $(MAKE) -C regress $@
index 61a81eacf78f5d3c43d6d99aea827b5a1f736ea9..ee52f490fdeeb60f07848a8273a1433b20aac823 100644 (file)
@@ -2239,7 +2239,7 @@ static void testLoadOfflineBand() {
        rt_band band;
        const int maxX = 10;
        const int maxY = 10;
-       const char *path = "../loader/testraster.tif";
+       const char *path = "../regress/loader/testraster.tif";
        int rtn;
        int x;
        int y;
index 09786b9c4cf213ac0869210d74fb0df5287d1e80..8cca0a92ca73dfb897259d7176c9f7c15c4c1616 100644 (file)
@@ -29,102 +29,97 @@ PATH := $(PGSQL_BINDIR):$(PATH)
 export PATH
 
 TEST_METADATA = \
-       check_raster_columns.sql \
-       check_raster_overviews.sql \
-       $(NULL)
+       check_raster_columns \
+       check_raster_overviews
 
 TEST_IO = \
-       rt_io.sql \
-       $(NULL)
+       rt_io
 
 TEST_FUNC = \
-       rt_bytea.sql \
-       box3d.sql \
-       rt_addband.sql \
-       rt_band.sql \
-       rt_asgdalraster.sql \
-       rt_astiff.sql \
-       rt_asjpeg.sql \
-       rt_aspng.sql \
-       rt_union.sql \
-       $(NULL)
+       rt_bytea \
+       box3d \
+       rt_addband \
+       rt_band \
+       rt_asgdalraster \
+       rt_astiff \
+       rt_asjpeg \
+       rt_aspng \
+       rt_union
 
 TEST_PROPS = \
-       create_rt_properties_test.sql \
-       rt_dimensions.sql \
-       rt_scale.sql \
-       rt_pixelsize.sql \
-       rt_upperleft.sql \
-       rt_rotation.sql \
-       rt_georeference.sql \
-       rt_set_properties.sql \
-       drop_rt_properties_test.sql \
-       create_rt_empty_raster_test.sql \
-       rt_isempty.sql \
-       rt_hasnoband.sql \
-       drop_rt_empty_raster_test.sql \
-       rt_metadata.sql \
-       $(NULL)
+       create_rt_properties_test \
+       rt_dimensions \
+       rt_scale \
+       rt_pixelsize \
+       rt_upperleft \
+       rt_rotation \
+       rt_georeference \
+       rt_set_properties \
+       drop_rt_properties_test \
+       create_rt_empty_raster_test \
+       rt_isempty \
+       rt_hasnoband \
+       drop_rt_empty_raster_test \
+       rt_metadata
 
 TEST_BANDPROPS = \
-       create_rt_band_properties_test.sql \
-       rt_band_properties.sql \
-       rt_set_band_properties.sql \
-       rt_summarystats.sql \
-       rt_count.sql \
-       rt_histogram.sql \
-       rt_quantile.sql \
-       rt_valuecount.sql \
-       rt_valuepercent.sql \
-       rt_bandmetadata.sql \
-       rt_pixelvalue.sql \
-       drop_rt_band_properties_test.sql \
-       $(NULL)
+       create_rt_band_properties_test \
+       rt_band_properties \
+       rt_set_band_properties \
+       rt_summarystats \
+       rt_count \
+       rt_histogram \
+       rt_quantile \
+       rt_valuecount \
+       rt_valuepercent \
+       rt_bandmetadata \
+       rt_pixelvalue \
+       drop_rt_band_properties_test
 
 TEST_UTILITY = \
-       rt_utility.sql \
-       create_rt_mapalgebra_test.sql \
-       rt_mapalgebraexpr.sql \
-       rt_mapalgebrafct.sql \
-       rt_mapalgebraexpr_2raster.sql \
-       rt_mapalgebrafct_2raster.sql \
-       drop_rt_mapalgebra_test.sql \
-       create_rt_mapalgebrafctngb_test.sql \
-       rt_mapalgebrafctngb.sql \
-       rt_mapalgebrafctngb_userfunc.sql \
-       drop_rt_mapalgebrafctngb_test.sql \
-       rt_reclass.sql \
-       rt_resample.sql \
-       rt_asraster.sql \
-       rt_intersection.sql \
-       $(NULL)
+       rt_utility \
+       create_rt_mapalgebra_test \
+       rt_mapalgebraexpr \
+       rt_mapalgebrafct \
+       rt_mapalgebraexpr_2raster \
+       rt_mapalgebrafct_2raster \
+       drop_rt_mapalgebra_test \
+       create_rt_mapalgebrafctngb_test \
+       rt_mapalgebrafctngb \
+       rt_mapalgebrafctngb_userfunc \
+       drop_rt_mapalgebrafctngb_test \
+       rt_reclass \
+       rt_resample \
+       rt_asraster \
+       rt_intersection
 
 TEST_GIST = \
-       create_rt_gist_test.sql \
-       rt_above.sql \
-       rt_below.sql \
-       rt_contained.sql \
-       rt_contain.sql \
-       rt_left.sql \
-       rt_overabove.sql \
-       rt_overbelow.sql \
-       rt_overlap.sql \
-       rt_overleft.sql \
-       rt_overright.sql \
-       rt_right.sql \
-       rt_same.sql \
-       drop_rt_gist_test.sql \
-       $(NULL)
+       create_rt_gist_test \
+       rt_above \
+       rt_below \
+       rt_contained \
+       rt_contain \
+       rt_left \
+       rt_overabove \
+       rt_overbelow \
+       rt_overlap \
+       rt_overleft \
+       rt_overright \
+       rt_right \
+       rt_same \
+       drop_rt_gist_test
        
 TEST_SREL = \
-       rt_spatial_relationship.sql \
-       rt_intersects.sql \
-       rt_samealignment.sql \
-       $(NULL)
+       rt_spatial_relationship \
+       rt_intersects \
+       rt_samealignment
        
 TEST_BUGS = \
-       bug_test_car5.sql \
-       tickets.sql
+       bug_test_car5 \
+       tickets
+
+TEST_LOADER = \
+       loader/basic
 
 TESTS = $(TEST_METADATA) $(TEST_IO) $(TEST_FUNC) \
                $(TEST_PROPS) $(TEST_BANDPROPS) \
@@ -140,7 +135,6 @@ clean distclean:
 rtpostgis.sql: ../../rt_pg/rtpostgis.sql
        sed 's,$$libdir,$(REGRESS_INSTALLDIR)/lib,g' ../../rt_pg/rtpostgis.sql > rtpostgis.sql
 
-
 check: 
        $(MAKE) -C ../../../regress staged-install
        ../../../regress/run_test --raster $(RUNTESTFLAGS) $(TESTS)