[postgis-devel] [wktraster] Core tests failure for r5841

Mateusz Loskot mateusz at loskot.net
Tue Aug 24 02:47:19 PDT 2010


On 24/08/10 10:39, Jorge Arévalo wrote:
> On Mon, Aug 23, 2010 at 11:11 PM, Pierre Racine
> <Pierre.Racine at sbf.ulaval.ca>  wrote:
>> Could you test the last one. Thanks. Sorry for that my C is a bit rusty.
>
> OK. make check is working fine for me now.

Works for me too, however regression test is failing:L


mloskot at vb-ubuntu910-x64:~/dev/wktraster/_svn/trunk$ make post-install-check

...
Creating spatial db rtpostgis_reg
TMPDIR is /tmp/rtpgis_reg_4435

  PostgreSQL 8.4.4 on x86_64-pc-linux-gnu, compiled by GCC gcc-4.4.real 
(Ubuntu 4.4.3-4ubuntu5) 4.4.3, 64-bit
  Postgis 2.0.0SVN - 2010-08-04 11:37:17
    GEOS: 3.3.0-CAPI-1.7.0
    PROJ: Rel. 4.7.1, 23 September 2009
  WKTRaster 0.1.6d - 2010-08-24 09:14:21

Running tests

  check_raster_columns. ok
  check_raster_overviews. ok
  rt_io. ok
  create_rt_bytea_test. ok
  rt_bytea. ok
  create_rt_box2d_test. ok
  rt_box2d. ok
  rt_addband. failed (diff expected obtained: 
/tmp/rtpgis_reg_4435/test_8_diff)
  create_rt_properties_test. ok
  rt_dimensions. ok
  rt_pixelsize. ok
  rt_upperleft. ok
  rt_rotation. ok
  rt_georeference. ok
  rt_set_properties. ok
  create_rt_band_properties_test. ok
  rt_band_properties. ok
  rt_set_band_properties. ok
  rt_pixelvalue. ok
  create_rt_utility_test. ok
  rt_utility. ok
  create_rt_gist_test. ok
  rt_above. ok
  rt_below. ok
  rt_contained. ok
  rt_contain. ok
  rt_left. ok
  rt_overabove. ok
  rt_overbelow. ok
  rt_overlap. ok
  rt_overleft. ok
  rt_overright. ok
  rt_right. ok
  rt_same. ok
  rt_spatial_relationship. ok
  bug_test_car5. ok

Run tests: 36
Failed: 1
make[2]: Leaving directory 
`/home/mloskot/dev/wktraster/_svn/trunk/test/regress'
make[1]: Leaving directory `/home/mloskot/dev/wktraster/_svn/trunk/test'
mloskot at vb-ubuntu910-x64:~/dev/wktraster/_svn/trunk$ cat 
/tmp/rtpgis_reg_4435/test_8_diff
*** rt_addband_expected	2010-08-23 16:51:59.000000000 +0100
--- /tmp/rtpgis_reg_4435/test_8_out	2010-08-24 10:15:19.000000000 +0100
***************
*** 45,52 ****
   154
   WARNING:  Initial pixel value for 8BUI band got truncated from 
256.000000 to 255
   255
! WARNING:  Initial pixel value for 16BSI band got truncated from 
-32769.000000 to -32768
! -32768
   -32768
   0
   32767
--- 45,52 ----
   154
   WARNING:  Initial pixel value for 8BUI band got truncated from 
256.000000 to 255
   255
! WARNING:  Initial pixel value for 16BSI band got truncated from 
-32769.000000 to 32767
! 32767
   -32768
   0
   32767
***************
*** 54,61 ****
   -32768
   WARNING:  Initial pixel value for 16BSI band got truncated from 
21.460000 to 21
   21
! WARNING:  Initial pixel value for 16BSI band got truncated from 
210000.460000 to -32768
! -32768
   WARNING:  Initial pixel value for 16BUI band got truncated from 
-1.000000 to 65535
   65535
   0
--- 54,61 ----
   -32768
   WARNING:  Initial pixel value for 16BSI band got truncated from 
21.460000 to 21
   21
! WARNING:  Initial pixel value for 16BSI band got truncated from 
210000.460000 to 13392
! 13392
   WARNING:  Initial pixel value for 16BUI band got truncated from 
-1.000000 to 65535
   65535
   0
mloskot at vb-ubuntu910-x64:~/dev/wktraster/_svn/trunk$


Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net



More information about the postgis-devel mailing list