Re: no test programs in contrib

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: no test programs in contrib
Дата
Msg-id 20141127222649.GV1639@alvin.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: no test programs in contrib  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> I'm not too happy with that approach, because packagers are going to
> tend to think they should package any files installed by install-world.
> The entire point of this change, IMO, is that the test modules should
> *not* get installed, certainly not by normal install targets.  Being
> consistent with the existing contrib packaging is exactly not what we
> want.
>
> Maybe we should only allow check-world to run these tests, and not
> installcheck-world?  That's kind of annoying, but what you are
> doing now seems to defeat the purpose altogether.

Hadn't thought of the packaging angle of this.  I don't think packagers
really are as dumb as you suggest, but anyway implementing this idea
turned out to be simpler than I expected; here's a preliminary patch.

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

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: no test programs in contrib
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: [pgsql-packagers] Palle Girgensohn's ICU patch