]> granicus.if.org Git - postgresql/commit
Make TAP test suites to work, when @INC does not contain current dir.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 7 Oct 2016 18:48:21 +0000 (21:48 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 7 Oct 2016 19:01:04 +0000 (22:01 +0300)
commit2efed55db1cc8e40d74242e61d7c741cccb4a50d
treead4a13860b2e1c90b715fc8b8e1accd208d4bbd6
parent1749332ec9e5017ca7ebfa245597cc765b4553fd
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.flg6nivjuwp5vaoy@alap3.anarazel.de>
src/Makefile.global.in