git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b25d47b) | patch
When a TAP file has non-zero exit status, retain temporary directories.
Wed, 5 Feb 2020 16:26:41 +0000 (08:26 -0800)
Wed, 5 Feb 2020 16:26:44 +0000 (08:26 -0800)
commit 887657d183fc2afcdd97bae3cdb645cbe0b59662
When a TAP file has non-zero exit status, retain temporary directories.

PostgresNode already retained base directories in such cases. Stop
using $SIG{__DIE__}, which is redundant with the exit status check, in
lieu of proliferating it to TestLib. Back-patch to 9.6, where commit
88802e068017bee8cea7a5502a712794e761c7b5 introduced retention on
failure.

Reviewed by Daniel Gustafsson.

Discussion: https://postgr.es/m/20200202170155.GA3264196@rfd.leadboat.com
src/test/perl/PostgresNode.pm diff | blob | blame | history
src/test/perl/TestLib.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /