Re: [HACKERS] Old versions of Test::More

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Old versions of Test::More
Дата
Msg-id 12870.1492785919@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] Old versions of Test::More  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Ответы Re: [HACKERS] Old versions of Test::More
Список pgsql-hackers
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> As we discovered yesterday via jacana, very old versions of Test::More
> don't support the note() function. It therefore seems prudent to specify
> a minimum version number for the module in those scripts that use the
> function. According to the changelog, version 0.82 (released in Oct
> 2008) should be sufficient. So I suggest the attached patch.

Maybe it'd be better to put the minimum-version check somewhere central,
like PostgresNode.pm?  I suppose that our use of "note" will expand,
and I can't see us remembering to put this into all and only the specific
tests that use "note".  Especially if there's no comment about it.
        regards, tom lane



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] Old versions of Test::More
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Unportable implementation of background worker start