Re: convert libpq uri-regress tests to tap test
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org
Date: 2022-02-23T22:53:17Z
Lists: pgsql-hackers
On 23.02.22 21:30, Andres Freund wrote:
> hen 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?
>
> Where would we want that test to live? Right now we have the slightly odd
> convention that some tap tests live in src/test/{misc,modules,...}. But
> e.g. frontend binary ones are below src/bin/.
libpq TAP tests should be in src/interfaces/libpq/t/.
I think there were issues that the build farm wouldn't pick up a test
located there, but that should be fixed rather than worked around.
Commits
-
Run tests of libpq on installcheck-world, checkprep and check-world
- 2cc96f233914 15.0 landed
-
Convert src/interfaces/libpq/test to a tap test.
- ac25173cdbc4 15.0 landed
-
Run tap tests in src/interfaces/libpq.
- 6b04abdfc5e0 15.0 landed