Re: convert libpq uri-regress tests to tap test
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@lists.postgresql.org, Andrew Dunstan <andrew@dunslane.net>,
Tom Lane <tgl@sss.pgh.pa.us>,
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org
Date: 2022-03-01T15:52:43Z
Lists: pgsql-hackers
Hi, On March 1, 2022 7:44:27 AM PST, Andrew Dunstan <andrew@dunslane.net> wrote: > >On 2/24/22 07:19, Andrew Dunstan wrote: >> On 2/23/22 20:52, Tom Lane wrote: >>> Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes: >>>> On 23.02.22 23:58, Tom Lane wrote: >>>>> Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes: >>>>>> libpq TAP tests should be in src/interfaces/libpq/t/. >>>>> That's failing to account for the fact that a libpq test can't >>>>> really be a pure-perl TAP test; you need some C code to drive the >>>>> library. >>>> Such things could be put under src/interfaces/libpq/test, or some other >>>> subdirectory. We already have src/interfaces/ecpg/test. >>> OK, but then the TAP scripts are under src/interfaces/libpq/test/t, >>> which isn't what you said. I have no great objection to moving >>> src/test/modules/libpq_pipeline/ to src/interfaces/libpq/test/, >>> though, as long as the buildfarm will cope. >>> >>> >> >> It won't without some adjustment. > > > >See ><https://github.com/PGBuildFarm/client-code/commit/ffc0fc029877632e9437af51bd99ace308daf0c8> >and ><https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=crake&dt=2022-03-01%2010%3A47%3A22&stg=module-libpq-check> Thanks! -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
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