Re: meson: Make test output much more useful on failure (both in CI and locally)
Jelte Fennema <postgres@jeltef.nl>
From: "Jelte Fennema-Nio" <postgres@jeltef.nl>
To: "Corey Huinker" <corey.huinker@gmail.com>
Cc: "Zsolt Parragi" <zsolt.parragi@percona.com>, "Nazir Bilal Yavuz"
<byavuz81@gmail.com>, "Andres Freund" <andres@anarazel.de>, "PostgreSQL
Hackers" <pgsql-hackers@lists.postgresql.org>, <andrew@dunslane.net>
Date: 2026-03-20T08:19:19Z
Lists: pgsql-hackers
Attachments
- v5-0001-pg_regress-Include-diffs-in-output.patch (text/x-patch) patch v5-0001
- v5-0002-perl-tap-Show-failed-command-output.patch (text/x-patch) patch v5-0002
- v5-0003-perl-tap-Show-die-reason-in-TAP-output.patch (text/x-patch) patch v5-0003
- v5-0004-perl-tap-Use-croak-instead-of-die-in-our-perl-hel.patch (text/x-patch) patch v5-0004
- v5-0005-Simplify-and-improve-output-of-002_pg_upgrade.pl-.patch (text/x-patch) patch v5-0005
On Thu Mar 19, 2026 at 8:44 PM CET, Corey Huinker wrote: >> >> >> Finally I added a new commit which starts to use command_ok in >> 002_pg_upgrade.pl and 027_stream_regress.pl to get the new nicer output. >> > > I tried this out, and am very pleased with the results. Thanks for the review. > nitpick: comment sentence needs a closing '.' Fixed > v4-0005: the commit message is probably too bulky to be used as-is, but the > committer was going to change that anyway and right now too much > information is way better than not enough. Shortened it using your example run. > I can't wait to use this. Me too :) I've also added the Author/Reviewed-By/Discussion footers to the commits to make the committers job easier.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Use command_ok for pg_regress calls in 002_pg_upgrade and 027_stream_regress
- bb6ae9707c17 19 (unreleased) landed
-
perl tap: Show die reason in TAP output
- 76540fdedf40 19 (unreleased) landed
-
perl tap: Show failed command output
- 1402b8d2fc70 19 (unreleased) landed
-
perl tap: Use croak instead of die in our helper modules
- b8da9869b850 19 (unreleased) landed
-
pg_regress: Include diffs in TAP output
- 5720ae014364 19 (unreleased) landed