[geos-devel] XML Tests

Sandro Santilli strk at kbt.io
Sat Nov 10 00:54:44 PST 2018


On Fri, Nov 09, 2018 at 02:39:43PM -0800, Paul Ramsey wrote:
> Couple notes from the world of the XML tester.
> I merged Sandro's tinyxml2 change, which seems to work fine.
> Running *all* the XML tests on OSX
> 
> ./XMLTester `find . -name "*.xml" | xargs`
> 
> I find that four of the tests fail. Is this unique to me, or common to GEOS
> on other platforms? It's possible the make check target does not include
> the problematic tests, I haven't done that piece of set-intersection yet.
> 
> Speaking of set intersection, the set of tests in JTS differs from the set
> in GEOS, and it's not just missing GEOS-specific tests. In some cases,
> long-standing tests like TestCentroid.xml has more tests in JTS than in
> GEOS. So am I right that an outstanding task is to pull the freshest JTS
> tests into the GEOS suite?

I agree it is good to have a 1:1 matching of JTS tests to GEOS.
I think our testLeaksBig.xml contains many tests that are otherwise
found in other JTS tests, if you port more please remove duplicated
test from that file, which ideally should be gone at the end of
porting.

All tests pass for me, on Ubuntu 18.04.1 LTS (GNU/Linux)

--strk;


More information about the geos-devel mailing list