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:50:02
Message-ID: 3371085.1637455802@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Noah Misch <noah(at)leadboat(dot)com> writes:
> Yep. wrasse sets PERL to a manually-installed Perl, but PROVE still uses an
> old Perl. I'll fix that somehow.

A quick workaround is to set PROVE in the animal's config_env, but
I don't think that's ideal, because configure then skips module
presence tests:

# Check for necessary modules, unless user has specified the "prove" to use;
# in that case it's her responsibility to have a working configuration.
# (prove might be part of a different Perl installation than perl, eg on
# MSys, so the result of AX_PROG_PERL_MODULES could be irrelevant anyway.)

What I'm inclined to do is temporarily push `dirname $PERL` onto the front
of PATH while running

PGAC_PATH_PROGS(PROVE, prove)

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-11-21 01:03:29 Re: pgsql: Require version 0.98 of Test::More for TAP tests
Previous Message Tom Lane 2021-11-21 00:42:14 Re: pgsql: Require version 0.98 of Test::More for TAP tests