[postgis-devel] Patch for regression tests under Win32

strk at refractions.net strk at refractions.net
Mon Apr 10 11:26:43 PDT 2006


Sounds good to me.

--strk;

On Mon, Apr 10, 2006 at 11:46:40AM +0100, Mark Cave-Ayland wrote:
> Hi everyone,
> 
> Please find enclosed a patch for review which allows the in-place regression
> tests to run under MingW (Win32). The problem was that, by default, MingW's
> pwd returns the current path in MSYS UNIX format (/home/mca.../) instead of
> Windows format (C:\Documents And Settings\mca..\). By passing the -W
> parameter to pwd when generating the regression library name, the correct
> paths are generated in the lwpostgis.sql regression file and so the in-place
> regression tests can find the DLL.
> 
> A minor side effect is that I've also had to change lwgeom/Makefile to use #
> instead of : as the pattern separator, since obviously windows paths contain
> a : to denote the drive letter :)



More information about the postgis-devel mailing list