Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2efed55

Browse files
committed
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>
1 parent 1749332 commit 2efed55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Makefile.global.in

+3-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,9 @@ endif
332332
endif
333333

334334
PROVE = @PROVE@
335-
PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/
335+
# There are common routines in src/test/perl, and some test suites have
336+
# extra perl modules in their own directory.
337+
PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/ -I $(srcdir)
336338
PROVE_FLAGS = --verbose
337339

338340
# prepend to path if already set, else just set it

0 commit comments

Comments
 (0)