pgsql: Use $Test::Builder::Level in TAP test functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Use $Test::Builder::Level in TAP test functions
Дата
Msg-id E1fZa6q-0005cW-VW@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use $Test::Builder::Level in TAP test functions

In TAP test functions, that is, those that produce test results, locally
increment $Test::Builder::Level.  This has the effect that test failures
are reported at the callers location rather than somewhere in the test
support libraries.

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c4309f4aeeae54e4c5281d68e29288af1d0d1ed2

Modified Files
--------------
src/bin/pg_rewind/RewindTest.pm |  2 ++
src/test/perl/PostgresNode.pm   | 10 ++++++++++
src/test/perl/TestLib.pm        | 11 +++++++++++
src/test/ssl/ServerSetup.pm     |  4 ++++
4 files changed, 27 insertions(+)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Use optimized bitmap set function for membership test inpostgre
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add tests for inheritance trees mixing permanent and temporaryr