pgsql: Add timestamp and elapsed time decorations to TAP test logs - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Add timestamp and elapsed time decorations to TAP test logs
Date
Msg-id E1ndXTk-001Bag-M6@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add timestamp and elapsed time decorations to TAP test logs

These apply to traces from Test::More functions such as ok(), is(),
diag() and note(). Output from other sources (e.g. external programs
such a initdb) is not affected. The elapsed time is the time since the
last such trace (or the beginning of the test in the first case). Times
and timestamps are at millisecond precision.

Discussion: https://postgr.es/m/20220401172150.rsycz4lrn7ewruil@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3b0a42e74edfc57c3cef1f3b1a583d4fe5cca846

Modified Files
--------------
src/test/perl/PostgreSQL/Test/SimpleTee.pm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: shorten JSON_SERIALIZE example to avoid a PDF build warning
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: reformat descriptions of pgbench output formats.