Re: [PATCH] pg_regress.c: Fix "make check" on Mac OS X: Pass DYLD_LIBRARY_PATH

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Evan Jones <evan(dot)jones(at)datadoghq(dot)com>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] pg_regress.c: Fix "make check" on Mac OS X: Pass DYLD_LIBRARY_PATH
Date: 2023-06-07 01:49:46
Message-ID: CAOBaU_YiKo+uQThQz1nx7URgr2=AAeAQ3xwik2VNeRQ+UccfnQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 7, 2023 at 5:44 AM Evan Jones <evan(dot)jones(at)datadoghq(dot)com> wrote:
>
> On Tue, Jun 6, 2023 at 5:23 PM Peter Eisentraut <peter(at)eisentraut(dot)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 Postgres wiki 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.

In response to

Browse pgsql-hackers by date

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