Commit 94d0809
committed
tsl/test: pass PG_PKGLIBDIR to provecheck-t's pg_prove.sh invocation
provecheck-t's custom target never set PG_PKGLIBDIR in the
environment it invokes pg_prove.sh with, unlike the community
provecheck target (test/CMakeLists.txt), which does.
pg_prove.sh builds its Perl -I include path from PG_PKGLIBDIR to find
PostgreSQL::Test::Cluster:
-I "${PG_PKGLIBDIR}/pgxs/src/test/perl"
With PG_PKGLIBDIR unset, every TSL TAP test fails immediately with
"Can't locate PostgreSQL/Test/Cluster.pm in @inc", on any system where
that module isn't also reachable via PG_LIBDIR's own search path
(e.g. Debian/Ubuntu PGDG packages, where pg_config --pkglibdir and
--libdir point at different directories).1 parent 77d9d32 commit 94d0809
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
0 commit comments