Re: Default make target in test modules

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Default make target in test modules
Дата
Msg-id 20160908164740.GA31913@alvherre.pgsql
обсуждение исходный текст
Ответ на Default make target in test modules  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Default make target in test modules  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Default make target in test modules  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Tom Lane wrote:
> I happened to notice that if you type "make" in
> src/test/modules/test_pg_dump, you will get a "make check" action
> not "make all".  I hope this is just somebody being thoughtless
> about Makefile ordering and not an intentional override of the
> default make target.  If the latter, I beg to differ about it
> being a good idea.

Strange.  Don't all these makefiles depend on the pgxs stuff emitting
something sane, which would have "all" as the first one? ...  Ooh, I see
that test_pg_dump adds "check" before including pgxs, which is what
AFAICS causes the problem.

I suppose this is a very easy mistake to make -- but also fortunately an
easy one to correct.  Do you want me to fix the affected modules?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Default make target in test modules
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Make initdb's suggested "pg_ctl start" command line more reliabl