pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix prove_installcheck to use correct paths when used with PGXS
Date: Thu, 01 Jul 2021 13:04:47 +0000
Message-ID: <E1lywN5-000184-VK@gemulon.postgresql.org> (raw)

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/58ac8300bdd4df4cdd9772d0e06f75b0dfbf9a22

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



view thread (7+ messages)  latest in thread

Message-ID: <E1lywN5-000184-VK@gemulon.postgresql.org>
Permalink:  ../E1lywN5-000184-VK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lywN5-000184-VK@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net
  Subject: Re: pgsql: Fix prove_installcheck to use correct paths when used with PGXS
  In-Reply-To: <E1lywN5-000184-VK@gemulon.postgresql.org>
  References: <E1lywN5-000184-VK@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox