Re: Portability issues in TAP tests - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Portability issues in TAP tests
Date
Msg-id CA+TgmoYsKqvEEvrp0RvwcF=dccerYW8iiT_TAah5N8Wjayo0qg@mail.gmail.com
Whole thread Raw
In response to Re: Portability issues in TAP tests  (Thomas Fanghaenel <tfanghaenel@salesforce.com>)
Responses Re: Portability issues in TAP tests
List pgsql-hackers
On Mon, Jul 21, 2014 at 12:00 PM, Thomas Fanghaenel
<tfanghaenel@salesforce.com> wrote:
> On Mon, Jul 21, 2014 at 8:21 AM, Robert Haas <robertmhaas@gmail.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



pgsql-hackers by date:

Previous
From: "Braunstein, Alan"
Date:
Subject: Exporting Table-Specified BLOBs Only?
Next
From: Tom Lane
Date:
Subject: Re: Portability issues in TAP tests