From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Allow TAP tests to run under Msys |
Date: | 2015-08-03 01:02:58 |
Message-ID: | E1ZM49a-0004ny-Gx@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-08-03 03:49:25 | pgsql: Fix a number of places that produced XX000 errors in the regress |
Previous Message | Terry Scheingeld | 2015-08-02 23:30:02 | Re: Taint mode in PL/Perl |