Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport
Date
Msg-id 511e9de9-0d72-96b3-ae90-67ee2c87b694@2ndquadrant.com
Whole thread Raw
In response to Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport  (Michael Paquier <michael@paquier.xyz>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: FOR EACH ROW triggers on partitioned tables
Next
From: Tom Lane
Date:
Subject: Re: rename sgml files?