Re: Portability issues in TAP tests

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Thomas Fanghaenel <tfanghaenel(at)salesforce(dot)com>
Cc: Christoph Berg <cb(at)df7cb(dot)de>, Noah Misch <noah(at)leadboat(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Portability issues in TAP tests
Date: 2014-07-21 18:31:23
Message-ID: CA+TgmoYsKqvEEvrp0RvwcF=dccerYW8iiT_TAah5N8Wjayo0qg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 21, 2014 at 12:00 PM, Thomas Fanghaenel
<tfanghaenel(at)salesforce(dot)com> wrote:
> On Mon, Jul 21, 2014 at 8:21 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> The tests weren't running for me at all on MacOS X, because I was
>> missing some prerequisite. So I installed it, and now they promptly
>> fail:
>>
>> ok 2 - initdb --version
>> 1..2
>> ok 1 - initdb with invalid option nonzero exit code
>> ok 2 - initdb with invalid option prints error message
>> # Looks like your test exited with 256 just after 2.
>> not ok 3 - initdb options handling
>
> I've had the same issue. The error doesn't seem to come from a failed
> test, but from within 'prove' itself. Installing Perl 5.18 via
> Homebrew, and setting
> PROVE="<path-to-your-cellar>/perl518/5.18.2/prove" at configure time
> seems to help avoid this particular problem. So I did not attempt any
> further diagnosis of the root cause.

Mmph. Well, I don't want to install a non-default Perl on my system
just to make these tests pass, and I don't think that should be a
requirement.

(But thanks for the information.)

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-07-21 18:40:20 Re: Portability issues in TAP tests
Previous Message Braunstein, Alan 2014-07-21 18:14:00 Exporting Table-Specified BLOBs Only?