Re: Readd use of TAP subtests - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: Readd use of TAP subtests
Date
Msg-id 93ecc73227ec7f11a1e68db4c70da856a094fc59.camel@vmware.com
Whole thread Raw
In response to Re: Readd use of TAP subtests  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Readd use of TAP subtests
List pgsql-hackers
On Fri, 2022-02-25 at 09:43 -0500, Andrew Dunstan wrote:
> AIUI TAP consumers are supposed to ignore lines they don't understand.

It's undefined behavior [1]:

> Any output that is not a version, a plan, a test line, a YAML block,
> a diagnostic or a bail out is incorrect. How a harness handles the
> incorrect line is undefined. Test::Harness silently ignores incorrect
> lines, but will become more stringent in the future. TAP::Harness
> reports TAP syntax errors at the end of a test run.

--Jacob

[1] https://testanything.org/tap-version-13-specification.html

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Add parameter jit_warn_above_fraction
Next
From: Julien Rouhaud
Date:
Subject: Re: Report checkpoint progress with pg_stat_progress_checkpoint (was: Report checkpoint progress in server logs)