pgsql: Back-patch fixes to make TAP tests work on Windows.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Back-patch fixes to make TAP tests work on Windows.
Date: 2015-11-17 19:10:35
Message-ID: E1ZyleF-00010v-4r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Back-patch fixes to make TAP tests work on Windows.

This back-ports commit 13d856e177e69083 and assorted followon patches
into 9.4 and 9.5. 9.5 and HEAD are now substantially identical in all
the files touched by this commit, except that 010_pg_basebackup.pl has
a few more tests related to the new --slot option. 9.4 has many fewer
TAP tests, but the test infrastructure files are substantially the same,
with the exception that 9.4 lacks the single-tmp-install infrastructure
introduced in 9.5 (commit dcae5faccab64776).

The primary motivation for this patch is to ensure that TAP test case
fixes can be back-patched without hazards of the kind seen in commits
34557f544/06dd4b44f. In principle it should also make the world safe
for running the TAP tests in the buildfarm in these branches; although
we might want to think about back-porting dcae5faccab64776 to 9.4 if
we're going to do that for real, because the TAP tests are quite disk
space hungry without it.

Michael Paquier did the back-porting work; original patches were by
him and assorted other people.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8bc496c3b68f6b5296eed3ebccc6f322d4d0ba52

Modified Files
--------------
doc/src/sgml/install-windows.sgml | 24 ++++++
src/Makefile.global.in | 4 +-
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 108 +++++++++++++-------------
src/bin/pg_ctl/t/001_start_stop.pl | 15 +++-
src/bin/pg_ctl/t/002_status.pl | 4 -
src/test/perl/SimpleTee.pm | 1 +
src/test/perl/TestLib.pm | 108 +++++++++++++++++++++++---
src/tools/msvc/clean.bat | 6 ++
src/tools/msvc/vcregress.pl | 45 ++++++++++-
9 files changed, 239 insertions(+), 76 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-11-17 19:15:05 Re: [COMMITTERS] pgsql: Cause TestLib.pm to define $windows_os in all branches.
Previous Message Peter Eisentraut 2015-11-17 11:56:08 Re: pgsql: Message improvements