Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2156 closed defect (fixed)

A test fails whether no JSON-C support

Reported by: brushtyler Owned by: strk
Priority: medium Milestone: PostGIS 2.0.3
Component: postgis Version: 2.0.x
Keywords: Cc:

Description

When the JSON-C support is not available then make check ends with failure:

[...]
 wkb .. ok 
 tickets .. failed (diff expected obtained: /tmp/pgis_reg/test_68_diff)
 typmod .. ok
[...]

Run tests: 86
Failed: 1
make[1]: *** [check] Error 1
make[1]: Leaving directory `/home/giuseppe/projects/sources/postgis/regress'
make: *** [check] Error 1

The /tmp/pqgis_reg/test_68_diff file contains:

238.OBT: #2130|8
238.EXP: ERROR:  You need JSON-C for ST_GeomFromGeoJSON

Probably it would be better to skip that test or make the JSON-C support mandatory.

Change History (7)

comment:1 by strk, 11 years ago

Owner: changed from pramsey to strk
Status: newassigned

comment:2 by strk, 11 years ago

Please try with r10859

comment:3 by brushtyler, 11 years ago

It's still failing on r10860.

comment:4 by strk, 11 years ago

Sorry but the previous commit was bogus, the right ones are r10861 in trunk and r10862 in 2.0 branch

comment:5 by brushtyler, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed. It doesn't fail using r10861 (trunk).

in reply to:  5 comment:6 by brushtyler, 11 years ago

Replying to brushtyler:

Fixed. It doesn't fail using r10861 (trunk).

To be precise, I've tested it against r10862.

comment:7 by strk, 11 years ago

Thank you, as that's much more important (the stable branch)

Note: See TracTickets for help on using tickets.