Opened 12 years ago

Closed 12 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 by strk, 12 years ago

Can you uncomment line 56 to see the obtained WKT ?

comment:2 by robe, 12 years ago

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 by robe, 12 years ago

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 by pramsey, 12 years ago

Fails on mingw32 for me too.

comment:5 by robe, 12 years ago

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

comment:6 by robe, 12 years ago

Resolution: fixed
Status: newclosed

applied the same hack at r9983

Note: See TracTickets for help on using tickets.