Re: Convert sepgsql tests to TAP
Andreas Karlsson <andreas@proxel.se>
From: Andreas Karlsson <andreas@proxel.se>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter@eisentraut.org>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-07-24T21:03:45Z
Lists: pgsql-hackers
On 7/24/24 10:35 PM, Tom Lane wrote: > Andreas Karlsson <andreas@proxel.se> writes: >> 1) As I said earlier I think we should remove the old code. > > I agree that carrying two versions of the test doesn't seem great. > However, a large part of the purpose of test_sepgsql is to help > people debug their sepgsql setup, which is why it goes to great > lengths to print helpful error messages. I'm worried that making > it into a TAP test will degrade the usefulness of that, simply > because the TAP infrastructure is pretty damn unfriendly when it > comes to figuring out why a test failed. You have to know where > to even look for the test logfile, and then you have to ignore > a bunch of useless-to-you chatter. I'm not sure if there is much > we can do to improve that. (Although if we could, it would > yield benefits across the whole tree.) For me personally the output from when running it with meson was good enough while the output when running with autotools was usable but annoying to work with. Meson's integration with TAP is pretty good. But with that said I am a power user and developer used to both meson and autotools. Unclear what skill we should expect from the target audience of test_sepgsql. Andreas
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
sepgsql: update TAP test to use fat comma style
- cc2c9fa6960c 18.0 landed
-
Convert sepgsql tests to TAP
- aeb8ea361a0a 18.0 landed
-
meson: Fix sepgsql installation
- 155d6162e457 16.7 landed
- 24c5b73eb6ec 17.3 landed
- 02ed3c2bdcef 18.0 landed