Fix prove_installcheck to use correct paths when used with PGXS

Andrew Dunstan <andrew@dunslane.net>

Commit: c4774ce339beff4a8968ceecb86bbbfa3335ed2b
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2021-07-01T12:46:21Z
Releases: 14.0
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

Files

PathChange+/−
src/Makefile.global.in modified +21 −2
src/test/recovery/Makefile modified +4 −0

Discussion