Re: [PATCH] pg_regress.c: Fix "make check" on Mac OS X: Pass DYLD_LIBRARY_PATH - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: [PATCH] pg_regress.c: Fix "make check" on Mac OS X: Pass DYLD_LIBRARY_PATH
Date
Msg-id CAOBaU_YiKo+uQThQz1nx7URgr2=AAeAQ3xwik2VNeRQ+UccfnQ@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] pg_regress.c: Fix "make check" on Mac OS X: Pass DYLD_LIBRARY_PATH  (Evan Jones <evan.jones@datadoghq.com>)
List pgsql-hackers
On Wed, Jun 7, 2023 at 5:44 AM Evan Jones <evan.jones@datadoghq.com> wrote:
>
> On Tue, Jun 6, 2023 at 5:23 PM Peter Eisentraut <peter@eisentraut.org> wrote:
>>
>> This addresses only pg_regress.  What about all the other test suites?
>> Per the previous discussions, you'd need to patch up other places in a
>> similar way, potentially everywhere system() is called.
>
>
> Are there instructions for how I can run these other test suites? The installation notes that Julien linked, and the
Postgreswiki Developer FAQ [1] only seem to mention "make check". I would be happy to try to fix other tests on Mac OS
X.

AFAIK there's no make rule that can really run everything.  You can
get most of it using make check-world (see
https://www.postgresql.org/docs/current/regress-run.html#id-1.6.20.5.5)
and making sure you added support for TAP tests (and probably also a
lot of optional dependencies) when running configure.  This won't run
everything but hopefully will hit most of the relevant infrastructure.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] pg_regress.c: Fix "make check" on Mac OS X: Pass DYLD_LIBRARY_PATH
Next
From: Tom Lane
Date:
Subject: Re: Let's make PostgreSQL multi-threaded