pgsql: Make TAP test suites to work, when @INC does not contain current

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make TAP test suites to work, when @INC does not contain current
Date: 2016-10-07 18:50:27
Message-ID: E1bsaDz-0004Go-UA@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make TAP test suites to work, when @INC does not contain current dir.

Recent Perl and/or new Linux distributions are starting to remove "." from
the @INC list by default. That breaks pg_rewind and ssl test suites, which
use helper perl modules that reside in the same directory. To fix, add the
current source directory explicitly to prove's include dir.

The vcregress.pl script probably also needs something like this, but I
wasn't able to remove '.' from @INC on Windows to test this, and don't want
to try doing that blindly.

Discussion: <20160908204529(dot)flg6nivjuwp5vaoy(at)alap3(dot)anarazel(dot)de>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d668b03378c28b927d0ba458681ca1b4c1e18e53

Modified Files
--------------
src/Makefile.global.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2016-10-07 18:55:59 Re: pgsql: Make TAP test suites to work, when @INC does not contain current
Previous Message Tom Lane 2016-10-07 15:27:43 pgsql: Fix python shlib probe for Cygwin.