Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport
Дата
Msg-id 511e9de9-0d72-96b3-ae90-67ee2c87b694@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport
Список pgsql-hackers
On 2/12/18 23:00, Michael Paquier wrote:
> Hm.  Wouldn't it be enough to just spread the use of
> TestLib::check_pg_config and use SKIP on the tests where things cannot
> be run then?  I see no need to invent an extra facility if all the
> control is already in pg_config.h.  For slapd, you can actually just
> check if it can be executed in the PATH defined at the top of
> 001_auth.pl in $slapd, and skip the tests if the thing cannot be run.
> We have enough flexibility in perl and TAP to allow that to work
> reliably.

Maybe that would work.

We still need a way to configure whether we want to run tests that open
TCP/IP listen sockets.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: FOR EACH ROW triggers on partitioned tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: rename sgml files?