[postgis-devel] [PostGIS] #1812: cunit failure on build area

PostGIS trac at osgeo.org
Mon May 14 00:46:12 PDT 2012


#1812: cunit failure on build area
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  strk         
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.0.1
Component:  postgis  |     Version:  trunk        
 Keywords:  mingw    |  
---------------------+------------------------------------------------------

Comment(by robe):

 fails with the latest geos 3.3.4 dev as well.  I also get the same failure
 on my ming64 chain.

 r9730 on my ming64 chain looks even worse (haven't bothered testing on my
 mingw32).  Did you take out some tests between r9730 and r9732?

 This is the failures I get on ming64 on r9730:
 (though a lot do seem just like reorders of polygons so are equal)

 {{{
 Suite: buildarea
   Test: buildarea1 ... Failure at cu_buildarea.c:62
  Exp: MULTIPOLYGON(((0 0,0 10,10 10,10 0,0 0)),((10 10,10 20,20 20,20
 10,10 10))
 )
  Obt: MULTIPOLYGON(((10 10,10 20,20 20,20 10,10 10)),((0 0,0 10,10 10,10
 0,0 0))
 )
 FAILED
     1. cu_buildarea.c:62  - 0
   Test: buildarea2 ... Failure at cu_buildarea.c:94
  Exp: POLYGON((0 0,0 10,10 10,20 10,20 0,10 0,0 0))
  Obt: POLYGON((10 10,20 10,20 0,10 0,0 0,0 10,10 10))
 FAILED
     1. cu_buildarea.c:94  - 0
   Test: buildarea3 ...passed
   Test: buildarea4 ... Failure at cu_buildarea.c:164
  Exp: MULTIPOLYGON(((0 0,0 20,20 20,20 0,0 0),(2 2,18 2,18 18,2 18,2
 2)),((8 8,8
  12,12 12,12 8,8 8)))
  Obt: MULTIPOLYGON(((8 8,8 12,12 12,12 8,8 8)),((0 0,0 20,20 20,20 0,0
 0),(2 2,1
 8 2,18 18,2 18,2 2)))
 FAILED
     1. cu_buildarea.c:164  - 0
   Test: buildarea4b ...passed
   Test: buildarea5 ... Failure at cu_buildarea.c:236
  Exp: MULTIPOLYGON(((0 0,0 20,20 20,20 0,0 0),(2 2,18 2,18 18,2 18,2
 2)),((8 8,8
  12,12 12,12 8,8 8)))
  Obt: MULTIPOLYGON(((8 8,8 12,12 12,12 8,8 8)),((0 0,0 20,20 20,20 0,0
 0),(2 2,1
 8 2,18 18,2 18,2 2)))
 FAILED
     1. cu_buildarea.c:236  - 0
   Test: buildarea6 ...passed
   Test: buildarea7 ... Failure at cu_buildarea.c:310
  Exp: MULTIPOLYGON(((80 0,80 70,110 70,110 0,80 0),(90 60,90 50,100 50,100
 60,90
  60)),((20 20,20 30,20 50,30 50,30 30,30 20,20 20)),((0 0,0 70,70 70,70
 0,0 0),(
 50 20,60 20,60 40,60 60,50 60,50 40,50 20),(10 10,40 10,40 60,10 60,10
 10)))
  Obt: MULTIPOLYGON(((80 0,80 70,110 70,110 0,80 0),(90 60,90 50,100 50,100
 60,90
  60)),((20 20,20 30,20 50,30 50,30 30,30 20,20 20)),((0 0,0 70,70 70,70
 0,0 0),(
 50 40,50 20,60 20,60 40,60 60,50 60,50 40),(10 10,40 10,40 60,10 60,10
 10)))
 FAILED
     1. cu_buildarea.c:310  - 0
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1812#comment:3>
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-devel mailing list