mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 08:17:19 +02:00
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>
This commit is contained in:
parent
010a1b5614
commit
00d7e2f8c8
@ -331,7 +331,9 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
PROVE = @PROVE@
|
PROVE = @PROVE@
|
||||||
PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/
|
# There are common routines in src/test/perl, and some test suites have
|
||||||
|
# extra perl modules in their own directory.
|
||||||
|
PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/ -I $(srcdir)
|
||||||
PROVE_FLAGS = --verbose
|
PROVE_FLAGS = --verbose
|
||||||
|
|
||||||
# prepend to path if already set, else just set it
|
# prepend to path if already set, else just set it
|
||||||
|
Loading…
Reference in New Issue
Block a user