Opened 5 years ago

Closed 21 months ago

#966 closed defect (fixed)

GDAL/SHP unit tests cannot be run locally on Linux

Reported by: jng Owned by: jng
Priority: major Milestone:
Component: FDO API Version:
Severity: 3 Keywords:
Cc: External ID:

Description

There is a bug somewhere in either the GDAL/SHP unit test code or their respective provider that throws off the expected working directory, breaking the expected paths for the various test data, causing many false positive test failures as a result.

At a minimum, the workaround is to install FDO and export its lib path to LD_LIBRARY_PATH and delete the local providers.xml before running the unit test executable. Such a workaround needs to be documented.

Ideally, the underlying problem should be identified and fixed

Change History (2)

comment:1 by jng, 3 years ago

Summary: GDAL/SHP unit tests cannot be run locallyGDAL/SHP unit tests cannot be run locally on Linux

comment:2 by jng, 21 months ago

Resolution: fixed
Status: assignedclosed

I believe this is actually fixed now with r8178 generating a local providers.xml for these provider test runners with a fully-version-qualified FDO provider name

Note: See TracTickets for help on using tickets.