pgsql: Split TESTDIR into TESTLOGDIR and TESTDATADIR

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Split TESTDIR into TESTLOGDIR and TESTDATADIR
Date: 2022-09-20 01:28:11
Message-ID: E1oaS3X-0017xO-2S@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Split TESTDIR into TESTLOGDIR and TESTDATADIR

The motivation for this is twofold. For one the meson patchset would like to
have more control over the logfiles. For another, the log file location for
tap tests (tmp_check/log) is not symmetric to the log location for
pg_regress/isolation tests (log/).

This commit does not change the default location for log files for tap tests,
as that'd break the buildfarm log collection, it just provides the
infrastructure for doing so.

Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Reviewed-by: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Discussion: https://postgr.es/m/1131990.1660661896@sss.pgh.pa.us
Discussion: https://postgr.es/m/20220828170806.GN2342@telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c47885bd8b6997ccb0cc1997f61f6f98a79ce32a

Modified Files
--------------
src/Makefile.global.in | 13 ++++++++++---
src/bin/psql/t/010_tab_completion.pl | 4 ++--
src/test/perl/PostgreSQL/Test/Utils.pm | 10 +++++-----
src/tools/msvc/vcregress.pl | 4 +++-
4 files changed, 20 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Justin Pryzby 2022-09-20 01:31:22 Re: pg_upgrade test failure
Previous Message Michael Paquier 2022-09-20 01:25:41 Re: pg_upgrade test failure