pgsql: Support retaining data dirs on successful TAP tests

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Support retaining data dirs on successful TAP tests
Date: 2017-09-05 16:37:26
Message-ID: E1dpGqs-0006e1-Pj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Support retaining data dirs on successful TAP tests

This moves the data directories from using temporary directories with
randomness in the directory name to a static name, to make it easier to
debug. The data directory will be retained if tests fail or the test
code dies/exits with failure, and is automatically removed on the next
make check.

If the environment variable PG_TEST_NOCLEAN is defined, the data
directories will be retained regardless of test or exit status.

Author: Daniel Gustafsson <daniel(at)yesql(dot)se>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/90627cf98a8e7d0531789391fd798c9bfcc3bc1a

Modified Files
--------------
src/Makefile.global.in | 6 ++--
src/bin/pg_rewind/RewindTest.pm | 7 +++--
src/bin/pg_rewind/t/001_basic.pl | 4 +--
src/bin/pg_rewind/t/002_databases.pl | 4 +--
src/bin/pg_rewind/t/003_extrafiles.pl | 4 +--
src/bin/pg_rewind/t/004_pg_xlog_symlink.pl | 4 +--
src/test/perl/PostgresNode.pm | 47 ++++++++++++++++++++++++++++--
7 files changed, 61 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-05 16:58:36 Re: [COMMITTERS] pgsql: Add psql variables showing server version and psql version.
Previous Message Robert Haas 2017-09-05 16:29:41 Re: [COMMITTERS] pgsql: Add psql variables showing server version and psql version.