Opened 14 years ago

Closed 14 years ago

#553 closed defect (fixed)

[wktraster] rt_band_properties test is failing

Reported by: mloskot Owned by: mloskot
Priority: medium Milestone:
Component: raster Version: master
Keywords: Cc:

Description

Building WKT Raster (r5759) with PostGIS (r5758) and GEOS (SVN revision 3087) on Linux 64-bit.

All PostGIS tests pass, however the rt_band_properties test of WKT Raster is failing:

Running tests

 rt_io. ok
 create_rt_bytea_test. ok
 rt_bytea. ok
 create_rt_box2d_test. ok
 rt_box2d. ok
 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. failed (diff expected obtained: /tmp/rtpgis_reg_1346/test_14_diff)
 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: 33
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'

Apparently, something has changed in the NODATA value handling and either there is a problem or test case needs to be revised:

mloskot@vb-ubuntu910-x64:~/dev/wktraster/_svn/trunk$ cat /tmp/rtpgis_reg_1346/test_14_diff
*** rt_band_properties_expected	2010-07-30 17:35:08.000000000 +0100
--- /tmp/rtpgis_reg_1346/test_14_out	2010-07-30 17:41:29.000000000 +0100
***************
*** 1,2 ****
! WARNING:  Getting NODATA value for a band without NODATA values. Using 0
! WARNING:  Getting NODATA value for a band without NODATA values. Using 0
--- 1,2 ----
! WARNING:  Getting NODATA value for a band without NODATA values. Using -530679216
! WARNING:  Getting NODATA value for a band without NODATA values. Using -530679360

Change History (3)

comment:1 by pracine, 14 years ago

I can't reproduce it on my Windows box. Jorge, Robe can you on Linux?

comment:2 by mloskot, 14 years ago

Owner: changed from pracine to mloskot
Status: newassigned
Summary: rt_band_properties test is failing[wktraster] rt_band_properties test is failing

comment:3 by mloskot, 14 years ago

Resolution: fixed
Status: assignedclosed

Invalid printf specifier was used. Fixed (r5761 and r5762).

Note: See TracTickets for help on using tickets.