]> 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:48:24 +0000 (08:48 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 1 Jul 2021 13:01:36 +0000 (09:01 -0400)
commitd173a469922074778cbfecbebcb5020b10c03b0f
tree60822a2c2b59a015ef9bfa87bc51d46478c8bdcd
parent68bad2333f7a4436861ec283b030578decca50bf
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