Re: Test::More version

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Andrew Dunstan <andrew@dunslane.net>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-11T20:44:27Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2021-Nov-11, Andrew Dunstan wrote:
>> Perhaps we could add a line to one of the TAP tests that would spit out
>> the version on the log?

> Maybe have it spit out the version of *all* the modules we require
> (which aren't all that many), not just Test::More?

Yeah ... configure is already checking those versions, so maybe we could
make it print them out along the way?  I'd been thinking of doing exactly
this just for documentation purposes, so if there's a concrete need for
it, let's get it done.

Having said that, I don't think I believe that changelog entry,
because prairiedog is doing just fine with

$ perl -MTest::More -e 'print "$Test::More::VERSION\n"'
0.8701

I have no objection to updating prairiedog to whatever new minimum
version we settle on.  But if there are other buildfarm animals with
old versions, that might be a reason not to change it.

			regards, tom lane



Commits

  1. Require version 0.98 of Test::More for TAP tests

  2. Report found versions of required perl modules