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 19:01:26
Message-ID: E1bsaOc-0004YL-RD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | 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
------
REL9_4_STABLE

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2016-10-07 19:04:52 Re: pgsql: Make TAP test suites to work, when @INC does not contain current
Previous Message Andres Freund 2016-10-07 18:55:59 Re: pgsql: Make TAP test suites to work, when @INC does not contain current