Re: pgsql: Require version 0.98 of Test::More for TAP tests

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Require version 0.98 of Test::More for TAP tests
Date: 2021-11-21 00:42:14
Message-ID: 3370581.1637455334@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

I wrote:
> So apparently the true issue is that this test is somehow failing to use
> the same perl, or the same perl import path, as configure did.

Oh, I see it: wrasse is configured to use a nondefault Perl:

'config_env' => {
'PERL' => '/home/nm/sw/nopath/perl64/bin/perl',

but that configuration is not sufficient to ensure the correct
choice of "prove":

checking for prove... /opt/csw/bin/prove

so the TAP tests are being run with some other, much older, Perl version.

I wonder if we ought to teach configure to try to find "prove" right
beside "perl", rather than expecting people to be careful to set PROVE
as well as PERL.

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-11-21 00:50:02 Re: pgsql: Require version 0.98 of Test::More for TAP tests
Previous Message Noah Misch 2021-11-21 00:36:30 Re: pgsql: Require version 0.98 of Test::More for TAP tests