Re: convert libpq uri-regress tests to tap test

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2022-02-23T20:40:59Z
Lists: pgsql-hackers
> On 23 Feb 2022, at 21:30, Andres Freund <andres@anarazel.de> wrote:

> When verifying that the meson port actually runs all perl based tests I came
> across src/interfaces/libpq/test/regress.pl.  Instead of running tests yet
> another way, it seems better to convert it to a tap test.
> 
> I hope others agree?

Many +1's on that.

> The tap test needs a bit more polish, mostly posted this to get some feedback
> before wasting more time :)

Skimming the new test it seems structurally fine to me.

--
Daniel Gustafsson		https://vmware.com/




Commits

  1. Run tests of libpq on installcheck-world, checkprep and check-world

  2. Convert src/interfaces/libpq/test to a tap test.

  3. Run tap tests in src/interfaces/libpq.