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

From Tom Lane
Subject Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAP support
Date
Msg-id 12460.1518100090@sss.pgh.pa.us
Whole thread Raw
In response to Disabling src/test/[ssl|ldap] when not building with SSL/LDAP support  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport
List pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> In order to run tests consistently on the whole tree, I use a simple
> alias which tests also things like src/test/ssl and src/test/ldap on the
> way.

> Lately, I am getting annoyed by $subject when working on OpenSSL stuff
> as sometimes I need to test things with and without SSL support to make
> sure that a patch is rightly shaped.  However if configure is built
> without SSL support then src/test/ssl just fails.  The same applies to
> src/test/ldap.

> Could it be possible to disable them using something like the attached
> if a build is done without SSL and/or LDAP?

That seems like possibly not such a great idea.  If somebody were using
a run of src/test/ssl to check their build, they would now get no
notification if they'd forgotten to build --with-openssl.

Perhaps we could introduce some new targets, "check-if-enabled" or so,
that act like you want.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: JIT compiling with LLVM v10.0
Next
From: Claudio Freire
Date:
Subject: Re: [HACKERS] [PATCH] Vacuum: Update FSM more frequently