Re: Readd use of TAP subtests

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Readd use of TAP subtests
Date: 2021-12-09 20:54:36
Message-ID: E1CA0ABA-4F51-456B-93E5-4CDCE9CE4B79@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 8 Dec 2021, at 16:25, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> I think the main point is to make sure that the test script reached an
> intended exit point, rather than dying early someplace. It's not apparent
> to me why reaching a done_testing() call is a less reliable indicator of
> that than executing some specific number of tests --- and I agree with
> ilmari that maintaining the test count is a serious PITA.

FWIW I agree with this and am in favor of using done_testing().

--
Daniel Gustafsson https://vmware.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2021-12-09 21:04:43 Re: do only critical work during single-user vacuum?
Previous Message Bossart, Nathan 2021-12-09 20:32:53 Re: do only critical work during single-user vacuum?