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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport
Дата
Msg-id 20180216233441.GA21104@paquier.xyz
обсуждение исходный текст
Ответ на Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAPsupport
Список pgsql-hackers
On Fri, Feb 16, 2018 at 03:32:46PM -0500, Peter Eisentraut wrote:
> Maybe that would work.
>
> We still need a way to configure whether we want to run tests that open
> TCP/IP listen sockets.

For this an environment variable seems suited to me.  Say if
PG_TAP_ALLOW_INSECURE is set, then the tests said "insecure" are allowed
to run.  If the tests are tried to be run, then they are just skipped
with a nice log message to tell you about it.  The cool part about this
design is that all the tests that are not part of check-world could be
integrated in it.  Most developers don't run regression tests on a
shared resource.  Let me think about a full-fledged patch first.
Documentation also matters a lot.
--
Michael

Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: ALTER TABLE ADD COLUMN fast default
Следующее
От: Arseny Sher
Дата:
Сообщение: Re: Server Crash while executing pg_replication_slot_advance (second time)