[postgis-devel] [PostGIS] #264: CUnit geography suite failures
PostGIS
trac at osgeo.org
Sun Oct 11 09:08:04 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:
Keywords: |
---------------------+------------------------------------------------------
I'm seeing more of a pattern between GCC than OS as to how this fails. As
I mentioned I found it strange that one of my OpenSUSE vms fails more like
one of my MingWs. In fact teh OpenSUSEs fail in different ways. It
occurred to me that what the similarities are between the like
MingW/OpenSuse pairs I believe to be version of GCC. I'll have to double-
check since I don't have those available at the moment.
Here is what I have
{{{
CUnit geography failures on various mixins of OpenSuse, MingW, GCC
--On one Windows XP MingW running gcc.exe (GCC) 3.4.5 (mingw-vista special
r3)
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
--On other MingW running (I thinkg gcc 4.11 -- have to double-check - I
know I upgraded this one to newest MingW gcc)
Don't have stats but recall it fails like my OpenSuse 11.0 VM
-- On OpenSuse 10.3 fails same as first MingW - have to double-check gcc
but think its in the 3. something series
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
-- On OpenSuse 11.0 vM fails as my second MingW runnning new gcc
-- gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision
135036]
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>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list