Support "make check" for PGXS extensions

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Support "make check" for PGXS extensions
Date: 2025-03-20 13:06:20
Message-ID: 9434a2f7-749d-471b-af9a-5097128fa9c2@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This is a quick follow-up to the extension_control_path patch. With
this little additional patch, you can now run "make check" in PGXS-using
extensions (instead of having to do make install; make installcheck with
a running instance). I think this would be very convenient for
extension development.

The patch is still rough, probably needs a bit of work to do proper
escaping, quoting, further testing, and it will probably break if you
use a different source tree layout. Maybe with a bit of help we can get
this robust enough. Or otherwise, it can at least serve as inspiration
for what you can implement yourself in your extension's makefile.

Attachment Content-Type Size
v0-0001-WIP-Support-make-check-for-PGXS-extensions.patch text/plain 1.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2025-03-20 13:11:12 Re: Adding support for SSLKEYLOGFILE in the frontend
Previous Message Robert Haas 2025-03-20 12:45:42 Re: Update Unicode data to Unicode 16.0.0