Re: meson: Make test output much more useful on failure (both in CI and locally)
Nazir Bilal Yavuz <byavuz81@gmail.com>
From: Nazir Bilal Yavuz <byavuz81@gmail.com>
To: Jelte Fennema-Nio <postgres@jeltef.nl>
Cc: Andres Freund <andres@anarazel.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-03T10:20:26Z
Lists: pgsql-hackers
Hi, Thank you for working on this! I think this is a nice improvement. On Tue, 27 Jan 2026 at 17:48, Jelte Fennema-Nio <postgres@jeltef.nl> wrote: > > On Mon Jan 26, 2026 at 5:42 PM CET, Andres Freund wrote: > > I agree that what we currently do is pretty unhelpful. > > Attached is v2, which I think fixes all the issues that you mentioned. v2-0001: This doesn't really read the first 80 lines of the combined diff. Lines with more than 1023 characters will be counted and printed as multiple lines. I don't think this is a problem but clearing this would be helpful. Other than that, it looks good to me. v2-0002: I am just curious if test failure can cause file descriptors not being properly closed and then the IPC::Run:run() call will hang indefinitely like the pg_ctl case. Other than that, it looks good to me. v2-0003 and v2-0004 look good to me. -- Regards, Nazir Bilal Yavuz Microsoft
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