Re: Can we automatically add elapsed times to tap test log? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Can we automatically add elapsed times to tap test log?
Date
Msg-id 203023f5-9a0a-784a-63f8-db888842a390@dunslane.net
Whole thread Raw
In response to Re: Can we automatically add elapsed times to tap test log?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Can we automatically add elapsed times to tap test log?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 4/2/22 06:57, Andrew Dunstan wrote:
> Here's a version that actually works. It produces traces that look like
> this:
>
>
> andrew@emma:pg_upgrade $ grep '([0-9]*s)'
> tmp_check/log/regress_log_002_pg_upgrade
> [21:55:06](63s) ok 1 - dump before running pg_upgrade
> [21:55:22](79s) ok 2 - run of pg_upgrade for new instance
> [21:55:27](84s) ok 3 - old and new dumps match after pg_upgrade
> [21:55:27](84s) 1..3
>

I know there's a lot going on, but are people interested in this? It's a
pretty small patch to produce something that seems quite useful.


cheers


andrew



--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Mingw task for Cirrus CI
Next
From: chap@anastigmatix.net
Date:
Subject: Re: test/isolation/expected/stats_1.out broken for me