Thread: pgsql: Add timestamp and elapsed time decorations to TAP test logs

pgsql: Add timestamp and elapsed time decorations to TAP test logs

From
Andrew Dunstan
Date:
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(-)