[postgis-devel] Patch for regression tests under Win32

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Mon Apr 10 03:46:40 PDT 2006


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 :)


Kind regards,

Mark.

------------------------
WebBased Ltd
17 Research Way
Plymouth
PL6 8BT

T: +44 (0)1752 797131
F: +44 (0)1752 791023

http://www.webbased.co.uk   
http://www.infomapper.com
http://www.swtc.co.uk  

This email and any attachments are confidential to the intended recipient
and may also be privileged. If you are not the intended recipient please
delete it from your system and notify the sender. You should not copy it or
use it for any purpose nor disclose or distribute its contents to any other
person.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postgis-mingw-regress.patch
Type: application/octet-stream
Size: 2435 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20060410/4bb2700b/attachment.obj>


More information about the postgis-devel mailing list