Re: Regression tests fails to start on system without unix sockets.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Regression tests fails to start on system without unix sockets.
Дата
Msg-id 26075.1056212435@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Regression tests fails to start on system without unix sockets.  (Kurt Roeckx <Q@ping.be>)
Ответы Re: Regression tests fails to start on system without unix  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Kurt Roeckx <Q@ping.be> writes:
> The regression tests will fail to start on a system that doesn't
> have, or wasn't compiled for, unix domain sockets.
> I see some options to fix this:
> - Always start with -i
> - Make the "unix_sockets" variable depend on
>   HAVE_UNIX_SOCKETS intead of listen the OSs.

The second way is the way it should have been done all along.

Probably the best fix is to add a command-line switch to pg_regress
to instruct it to use -i, and then have the makefile test
HAVE_UNIX_SOCKETS to decide whether to pass that switch.  This way,
hand invocation of the script could easily run the test both ways,
on machines where that's possible.
        regards, tom lane


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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Two weeks to feature freeze
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Two weeks to feature freeze