pgsql: Fix prove_installcheck to use correct paths when used with PGXS

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix prove_installcheck to use correct paths when used with PGXS
Date: 2021-07-01 13:04:47
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a0fc813266467d666b8f09ccccaccb700326a296

Modified Files
--------------
src/Makefile.global.in | 23 +++++++++++++++++++++--
src/test/recovery/Makefile | 4 ++++
2 files changed, 25 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-07-01 14:45:31 pgsql: Improve build-time check that libpq doesn't call exit().
Previous Message Heikki Linnakangas 2021-07-01 12:45:18 pgsql: Allow specifying pg_waldump --rmgr option multiple times.