From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add timestamp and elapsed time decorations to TAP test logs |
Date: | 2022-04-10 13:19:45 |
Message-ID: | E1ndXTk-001Bag-M6@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-04-10 19:31:48 | pgsql: Doc: reformat descriptions of pgbench output formats. |
Previous Message | Tom Lane | 2022-04-09 19:09:50 | pgsql: Doc: shorten JSON_SERIALIZE example to avoid a PDF build warning |