]> granicus.if.org Git - postgresql/commit
Support retaining data dirs on successful TAP tests
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 5 Sep 2017 16:22:33 +0000 (12:22 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 5 Sep 2017 16:24:06 +0000 (12:24 -0400)
commit90627cf98a8e7d0531789391fd798c9bfcc3bc1a
tree4f5b13996075625850cca581d278e8f2e174751d
parent5e8304fdce2d5c41ef7a648ed0a622480f8f0a07
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>
src/Makefile.global.in
src/bin/pg_rewind/RewindTest.pm
src/bin/pg_rewind/t/001_basic.pl
src/bin/pg_rewind/t/002_databases.pl
src/bin/pg_rewind/t/003_extrafiles.pl
src/bin/pg_rewind/t/004_pg_xlog_symlink.pl
src/test/perl/PostgresNode.pm