[postgis-devel] [PostGIS] #264: CUnit geography suite failures

PostGIS trac at osgeo.org
Tue Oct 13 04:18:27 PDT 2009


#264: CUnit geography suite failures
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by robe):

 Was a bit wrong about the gcc on my OpenSUSE 10.3 and MingW they are both
 newer than I thought.  Latest results against trunk for both these are
 below.

 So I guess if its a GCC issue, its something that changed between GCC 4.2
 and GCC 4.3

 {{{
 gcc --version --> gcc (GCC) 4.2.1 (SUSE Linux)
 Suite: Geodetic Suite
   Test: test_signum() ... passed
   Test: test_gbox_from_spherical_coordinates() ... passed
   Test: test_gserialized_get_gbox_geocentric() ... passed
   Test: test_clairaut() ... passed
   Test: test_edge_intersection() ... FAILED
     1. cu_geodetic.c:375  - CU_ASSERT_EQUAL(rv,LW_TRUE)
     2. cu_geodetic.c:383  - CU_ASSERT_EQUAL(rv,LW_TRUE)
   Test: test_edge_distance_to_point() ... passed
   Test: test_edge_distance_to_edge() ... passed
   Test: test_lwgeom_distance_sphere() ... passed
   Test: test_ptarray_point_in_ring() ... passed

 }}}

 My MingW running the newer gcc compiling against latest trunk

 {{{
 gcc --version --> gcc.exe (GCC) 4.4.0
 Suite: Geodetic Suite
   Test: test_signum() ... passed
   Test: test_gbox_from_spherical_coordinates() ... passed
   Test: test_gserialized_get_gbox_geocentric() ... passed
   Test: test_clairaut() ... passed
   Test: test_edge_intersection() ... FAILED
     1. cu_geodetic.c:324  - CU_ASSERT_DOUBLE_EQUAL(g.lon,0.0,0.00001)
     2. cu_geodetic.c:325  - CU_ASSERT_EQUAL(rv,LW_TRUE)
     3. cu_geodetic.c:340  - CU_ASSERT_DOUBLE_EQUAL(g.lon,0.0,0.00001)
     4. cu_geodetic.c:341  - CU_ASSERT_EQUAL(rv,LW_TRUE)
   Test: test_edge_distance_to_point() ... passed
   Test: test_edge_distance_to_edge() ... passed
   Test: test_lwgeom_distance_sphere() ... passed
   Test: test_ptarray_point_in_ring() ... passed
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/264#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list