]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix prove_installcheck to use correct paths when used with PGXS
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 1 Jul 2021 12:29:10 +0000 (08:29 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 1 Jul 2021 12:47:21 +0000 (08:47 -0400)
commit58ac8300bdd4df4cdd9772d0e06f75b0dfbf9a22
tree67c60ddf4124363ea4e78dc6ba93405112a31cee
parent93d3d0cf30b90c3d5b553a453fec637543c0b9c9
Fix prove_installcheck to use correct paths when used with PGXS

The prove_installcheck recipe in src/Makefile.global.in was emitting
bogus paths for a couple of elements when used with PGXS. Here we create
a separate recipe for the PGXS case that does it correctly. We also take
the opportunity to make the make the file more readable by breaking up
the prove_installcheck and prove_check recipes across several lines, and
to remove the setting for REGRESS_SHLIB to src/test/recovery/Makefile,
which is the only set of tests that actually need it.

Backpatch to all live branches

Discussion: https://postgr.es/m/f2401388-936b-f4ef-a07c-a0bcc49b3300@dunslane.net
src/Makefile.global.in
src/test/recovery/Makefile