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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAP support
Дата
Msg-id 12460.1518100090@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Disabling src/test/[ssl|ldap] when not building with SSL/LDAP support  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: JIT compiling with LLVM v10.0
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: [HACKERS] [PATCH] Vacuum: Update FSM more frequently