diff options
author | Daniel Gustafsson | 2021-11-12 20:38:10 +0000 |
---|---|---|
committer | Daniel Gustafsson | 2021-11-12 20:38:10 +0000 |
commit | 05d8785af2a192d436df5b7734aacb4e0bab5da8 (patch) | |
tree | a8e6126aa1b66ab227c46649c70116bdfcd2c9e2 | |
parent | d6eb5a0c258d3da5471814bcc6ed6498129fee16 (diff) |
Document PG_TEST_NOCLEAN in TAP test README
Commit 90627cf98 added support for retaining the data directory even on
successful tests, but failed to document the environment variable which
controls retention. This adds a small note to the TAP test README about
PG_TEST_NOCLEAN which when set skips removing the data directories from
successful tests.
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/[email protected]
-rw-r--r-- | src/test/perl/README | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/perl/README b/src/test/perl/README index d62db9b5d88..919d4a82799 100644 --- a/src/test/perl/README +++ b/src/test/perl/README @@ -23,6 +23,11 @@ tmp_check/log/ to get more info. Files named 'regress_log_XXX' are log output from the perl test scripts themselves, and should be examined first. Other files are postmaster logs, and may be helpful as additional data. +Data directories will also be left behind for analysis when a test fails; +they are named according to the test filename. But if the environment +variable PG_TEST_NOCLEAN is set, data directories will be retained +regardless of test status. + Writing tests ------------- |