[postgis-tickets] [PostGIS] #4049: Sometimes unit test for tree distance fail

PostGIS trac at osgeo.org
Tue Mar 20 02:28:50 PDT 2018


#4049: Sometimes unit test for tree distance fail
---------------------+---------------------------
 Reporter:  nicklas  |      Owner:  nicklas
     Type:  defect   |     Status:  assigned
 Priority:  medium   |  Milestone:  PostGIS 2.5.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 On my computer I get this result from ./cu_tester measures:


 {{{
     FAILED -   tests -  13 passed,   1 failed,  14 total.
            - asserts - 288 passed,   1 failed, 289 total.


   1. cu_measures.c:413  - CU_ASSERT_EQUAL(tree_inter( "POLYGON((0 0, 3 1,
 0 2, 3 3, 0 4, 3 5, 0 6, 5 6, 5 0, 0 0))",
 "GEOMETRYCOLLECTION(MULTILINESTRING((6 3, 8 4)),POINT(1 3.5))"),LW_FALSE)
 }}}

 It seems to pass on the tests on Debbie and others but not on my computer.

 Running Debian stretch. Postgresql 10.4, gcc 6.3.0
 Postgis r16477

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4049>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list