Re: pgsql: Move security_label test

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Move security_label test
Дата
Msg-id 20141202204601.GR1737@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pgsql: Move security_label test  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pgsql: Move security_label test  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-committers
Peter Eisentraut wrote:
> On 12/2/14 9:18 AM, Alvaro Herrera wrote:
> >> After this module has been moved to src/test/modules, I am seeing
> >> > failures with make check when manually kicking the test on at least
> >> > OSX where I tried because expected/ and sql/ are missing. pg_regress
> >> > does not like that much. That's annoying because check-world would
> >> > simply fail.
> > I had the directories locally but hadn't git-pushed them.
>
> make check-world still fails.

Ah, it needs errcodes.h to be generated.  We can add this (or similar)
to the makefiles:

OBJS: | submake-errcodes

submake-errcodes:
        $(MAKE) -C $(top_builddir)/src/backend submake-errcodes

but it would be very repetitive to have it in all test modules'
makefiles.  Why doesn't contrib need this?  Do you have a better idea?

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


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix JSON aggregates to work properly when final function is re-e
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Don't skip SQL backends in logical decoding for visibility compu