From: Andrew Dunstan <andrew@dunslane.net>
To: hlinnaka@iki.fi, Michael Paquier <michael.paquier@gmail.com>
To: Noah Misch <noah@leadboat.com>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: Supporting TAP tests with MSVC and Windows
Date: Fri, 24 Jul 2015 14:27:28 -0400
Message-ID: <55B28390.8030203@dunslane.net> (raw)
In-Reply-To: <55B2758E.1010205@iki.fi>
References: <CAB7nPqTQwphkDfZP07w7yBnbFNDhW_JBAMyCFAkarE2VWg8irQ@mail.gmail.com>
<20150403062230.GA1153652@tornado.leadboat.com>
<CAB7nPqSKRM0TvY3qFrGVEQpqJuaNstufG6LdD_5FMe7iSD686Q@mail.gmail.com>
<CAB7nPqTMmanGhAZC0GME_HyFTSgOqvKYu8rF3uAP6pnL+f0QNA@mail.gmail.com>
<CAB7nPqSHObwq89SydPYWWBafXEm=6qcxskU1-OqQOR3Zf8PrCw@mail.gmail.com>
<CAB7nPqSmLEkGvu10ttT1bpgiT_5Hsnef6+6TNfFU_r2T1OPL4A@mail.gmail.com>
<CAB7nPqSYzUDTj25XvYuTbzMSdCNEwo4-ofmXjXuJipqdiOVrwQ@mail.gmail.com>
<CAB7nPqRvsJ7WvgNDQk+yFZGNUbAbMi-LRCwgcWaAcfV3R7V2nw@mail.gmail.com>
<CAB7nPqSmCHA726iMtVuZZ4t0Rd4jkqZhDf52dTv4138iDXy7aQ@mail.gmail.com>
<55B2758E.1010205@iki.fi>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 07/24/2015 01:27 PM, Heikki Linnakangas wrote:
> On 06/25/2015 07:40 AM, Michael Paquier wrote:
>> On Tue, May 26, 2015 at 3:39 PM, Michael Paquier wrote:
>>> Here is v6, a rebased version on HEAD (79f2b5d). There were some
>>> conflicts with the indentation and some other patches related to
>>> pg_rewind and initdb's tests.
>>
>> Attached is v7, rebased on 0b157a0.
>
> Thanks! I fiddled with this a bit more, to centralize more of the
> platform-dependent stuff to RewindTest.pm. Also, Windows doesn't have
> "cat" and "touch" if you haven't installed MinGW, so I replaced those
> calls with built-in perl code.
>
> Can you double-check that the attached still works in your
> environment? It works for me now.
>
> Note: I had some trouble installing IPC::Run on my system, with
> ActiveState Perl and MSVC. There is no PPM package of that for
> Windows, so I had to do "cpan install IPC::Run". That downloaded the
> MinGW C compiler and make utility, which took a while. But some of the
> IPC::Run regression tests failed, and the installation was aborted. I
> forced my way through that "notest install IPC::Run". The next
> obstacle was that "vcregress <anything>" no longer worked. It
> complained about finding some function in the Install module. Turns
> out that when it installed the C compiler and make utility, it also
> installed a module called "install" from cpan, which has the same name
> as the PostgreSQL Install.pm module. We really should rename our
> module. I got through that by manually removing the system install.pm
> module from the perl installation's site directory. But after that, it
> worked great :-).
>
> We need to put some instructions in the docs on how to install
> IPC::Run on Windows. I can write up something unless you're eager to.
AFAIK all you need to do is put Run.pm in the right place. It doesn't
need any building, IIRC, and the current version can be got from
<http://cpansearch.perl.org/src/TODDR/IPC-Run-0.94/lib/IPC/Run.pm;
cheers
andrew
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: andrew@dunslane.net, michael.paquier@gmail.com, noah@leadboat.com
Subject: Re: Supporting TAP tests with MSVC and Windows
In-Reply-To: <55B28390.8030203@dunslane.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox