Re: Improve TAP tests of pg_upgrade for cross-version tests

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Michael Paquier <michael@paquier.xyz>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-06-12T14:14:35Z
Lists: pgsql-hackers
On 2022-06-09 Th 03:49, Michael Paquier wrote:
> On Wed, May 25, 2022 at 10:35:57AM +0900, Michael Paquier wrote:
>> On Tue, May 24, 2022 at 03:03:28PM +0900, Michael Paquier wrote:
>>> (Adding Andrew Dunstan in CC.)
>>>
>>> I have been toying with $subject, trying to improve the ways to test
>>> pg_upgrade across different major versions as perl makes that easier.
>>> The buildfarm does three things to allow such tests to work (see
>>> TestUpgradeXversion.pm):
> Rebased to cope with the recent changes in this area.


I tried in fb16d2c658 to avoid littering the mainline code with
version-specific tests, and put that in the methods in the subclasses
that override the mainline functions.

I'll try to rework this along those lines.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




Commits

  1. Add filtering capability for cross-version pg_upgrade tests