From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Support retaining data dirs on successful TAP tests
Date: Tue, 05 Sep 2017 16:37:26 +0000
Message-ID: <E1dpGqs-0006e1-Pj@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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@yesql.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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: Support retaining data dirs on successful TAP tests
In-Reply-To: <E1dpGqs-0006e1-Pj@gemulon.postgresql.org>
References: <E1dpGqs-0006e1-Pj@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox