Re: libpq URI and regression testing
Alex Shulgin <ash@commandprompt.com>
From: Alex <ash@commandprompt.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, Peter Eisentraut <peter_e@gmx.net>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2012-04-18T21:13:17Z
Lists: pgsql-hackers
Attachments
- uri-regress-rewrite.patch (text/x-patch) patch
Andrew Dunstan <andrew@dunslane.net> writes: >>> That's one reason for that, but there are probably others in the way of >>> making this fully portable and automatable. > > This test setup also appears to labor under the illusion that we live > in a Unix-only world. And for no good reason that I can tell. The > shell script should be ripped out and replaced by a perl script which > could actually be used on any windows build host. The MSVC build > system also needs adjusting to make it build the test driver, at > least. Good catch. Attached is my first take at writing Perl: replaces the shell script, adds $libpq_uri_regress project to Mkvcbuild.pm. I don't have access to a win32 box unfortunately, so if anyone who does could try this out that'd be great. -- Regards, Alex