Opened 7 years ago

Closed 7 years ago

#1866 closed defect (fixed)

cunit regression failure on mingw32

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS 2.1.0
Component: postgis Version: master
Keywords: Cc:

Description

strk -- I think I can compile again against geos 3.4.0 (at least onf 32-bit ). Still need to test 64-bit install. However I am getting a regression failure.

 Test: test_lwgeom_make_valid ... FAILED
    1. cu_clean.c:58  - CU_ASSERT_STRING_EQUAL(ewkt,"GEOMETRYCOLLECTION(POINT(0 0),MULTIPOLYGON(((5 5,0 0,0 10,5 5)),((5 5,10 10,10 0,5 5))),LINESTRING(10 0,10 10))")

Change History (6)

comment:1 Changed 7 years ago by strk

Can you uncomment line 56 to see the obtained WKT ?

comment:2 Changed 7 years ago by robe

For the record fails on my mingw64 as well. See Paul some things are the same. I have more issues iwth testing agains EDB builds than against mingw compiled builds. :)

strk -- this is output from min mingw64-- I assume it would be the same for my old mingw32.

Suite: clean
  Test: test_lwgeom_make_valid ...c = GEOMETRYCOLLECTION(POINT(0 0),MULTIPOLYGON
(((5 5,10 10,10 0,5 5)),((5 5,0 0,0 10,5 5))),LINESTRING(10 0,10 10))
FAILED
    1. cu_clean.c:58  - CU_ASSERT_STRING_EQUAL(ewkt,"GEOMETRYCOLLECTION(POINT(0
0),MULTIPOLYGON(((5 5,0 0,0 10,5 5)),((5 5,10 10,10 0,5 5))),LINESTRING(10 0,10
10))")

comment:3 Changed 7 years ago by robe

Here is the one from my mingw32 old. Looks the same to me:

  Test: test_lwgeom_make_valid ... c = GEOMETRYCOLLECTION(POINT(0 0),MULTIPOLYGON(((5 5,10 10,10 0,5 5)),((5 5,0 0,0 10,5 5))),LINESTRING(10 0,10 10))
FAILED
    1. cu_clean.c:58  - CU_ASSERT_STRING_EQUAL(ewkt,"GEOMETRYCOLLECTION(POINT(0 0),MULTIPOLYGON(((5 5,0 0,0 10,5 5)),((5 5,10 10,10 0,5 5))),LINESTRING(10 0,10 10))")

comment:4 Changed 7 years ago by pramsey

Fails on mingw32 for me too.

comment:5 Changed 7 years ago by robe

I assume this is with your cross-breed VC++ geos compiled, Mingw compiled PostGIS so not pure mingw like mine?

comment:6 Changed 7 years ago by robe

Resolution: fixed
Status: newclosed

applied the same hack at r9983

Note: See TracTickets for help on using tickets.