pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Allow TAP tests to run under Msys
Date: Mon, 03 Aug 2015 01:02:58 +0000
Message-ID: <E1ZM49a-0004ny-Gx@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Allow TAP tests to run under Msys

The Msys DTK perl, which is required to run TAP tests under Msys as a
native perl won't recognize the correct virtual paths, has its osname
recorded in the Config module as 'msys' instead of 'MSWin32'. To avoid
having to repeat the test a variable is created that is true iff the
osname is either of these values, and is then used everywhere that
matters.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/690ed2b76ab91eb79ea04ee2bfbdc8a2693f2a37

Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl |    2 +-
src/bin/pg_ctl/t/001_start_stop.pl           |    2 +-
src/test/perl/TestLib.pm                     |    9 ++++++---
3 files changed, 8 insertions(+), 5 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1ZM49a-0004ny-Gx@gemulon.postgresql.org>
Permalink:  ../E1ZM49a-0004ny-Gx@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ZM49a-0004ny-Gx@gemulon.postgresql.org

 · 

reply

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: andrew@dunslane.net
  Subject: Re: pgsql: Allow TAP tests to run under Msys
  In-Reply-To: <E1ZM49a-0004ny-Gx@gemulon.postgresql.org>
  References: <E1ZM49a-0004ny-Gx@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