aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-10-12 11:16:20 +0900
committerMichael Paquier <michael@paquier.xyz>2021-10-12 11:16:20 +0900
commitd834ebcf23208b3ae2109c0cae9af077202a27a4 (patch)
treec32d82635acf3679e341305d9d3875f29cc4e378 /src/tutorial/advanced.source
parent62e821ad28e1f08ea9734d7338bdebd783228a1c (diff)
downloadpostgresql-d834ebcf23208b3ae2109c0cae9af077202a27a4.tar.gz
postgresql-d834ebcf23208b3ae2109c0cae9af077202a27a4.zip
Add more $Test::Builder::Level in the TAP tests
Incrementing the level of the call stack reported is useful for debugging purposes as it allows to control which part of the test is exactly failing, especially if a test is structured with subroutines that call routines from Test::More. This adds more incrementations of $Test::Builder::Level where debugging gets improved (for example it does not make sense for some paths like pg_rewind where long subroutines are used). A note is added to src/test/perl/README about that, based on a suggestion from Andrew Dunstan and a wording coming from both of us. Usage of Test::Builder::Level has spread in 12, so a backpatch down to this version is done. Reviewed-by: Andrew Dunstan, Peter Eisentraut, Daniel Gustafsson Discussion: https://postgr.es/m/YV1CCFwgM1RV1LeS@paquier.xyz Backpatch-through: 12
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions