Re: pgsql: Clean up after TAP tests in oid2name and vacuumlo.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Clean up after TAP tests in oid2name and vacuumlo.
Дата
Msg-id 23385.1536082913@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Clean up after TAP tests in oid2name and vacuumlo.  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: pgsql: Clean up after TAP tests in oid2name and vacuumlo.  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-committers
Michael Paquier <michael@paquier.xyz> writes:
> On Tue, Sep 04, 2018 at 02:52:07PM +0000, Tom Lane wrote:
>> Oversights in commits 1aaf532de and bfea331a5.  Unlike the case for
>> traditional-style REGRESS tests, pgxs.mk doesn't have any builtin support
>> for TAP tests, so it doesn't realize it should remove tmp_check/.
>> Maybe we should build some actual pgxs infrastructure for TAP tests ...
>> but for the moment, just remove explicitly.

> Thanks for fixing this.  I think that there is an argument for just
> moving the cleanup of $(pg_regress_clean_files) in pgxs.mk out of the
> REGRESS portion instead?  I see little need for new infrastructure
> here.

It's really accidental that $(pg_regress_clean_files) happens to be a
superset of what the TAP tests need to have cleaned; we shouldn't build
that assumption in further.

If we're gonna do anything here, I think it'd be better to invent some new
symbol like HAVE_TAP_TESTS for calling Makefiles to define, then move all
the support into pgxs.mk, including the prove_[install]check rules.

            regards, tom lane


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Clean up after TAP tests in oid2name and vacuumlo.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fully enforce uniqueness of constraint names.