Re: Add support for EXTRA_REGRESS_OPTS for meson - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Add support for EXTRA_REGRESS_OPTS for meson
Date
Msg-id 2b3554b9-d365-4b8a-ada1-ce81144a9c84@proxel.se
Whole thread Raw
In response to Re: Add support for EXTRA_REGRESS_OPTS for meson  (Rustam ALLAKOV <rustamallakov@gmail.com>)
List pgsql-hackers
On 1/13/26 11:06 PM, Rustam ALLAKOV wrote:
>>> in addition to the above, might be worth to add some documentation like
>>>
>>> Environment Variables Supported:
>>> EXTRA_REGRESS_OPTS: Additional options to pass to regression, isolation, or ecpg tests.
>>> TEMP_CONFIG: Specify a temporary configuration file for testing purposes.
>>> Example Usage:
>>> # Use EXTRA_REGRESS_OPTS to load an extension
>>>     EXTRA_REGRESS_OPTS="--load-extension=pgcrypto" meson test
>>> # Use TEMP_CONFIG to specify a temporary configuration file
>>>     TEMP_CONFIG="path/to/test.conf" meson test
>>> # Use both EXTRA_REGRESS_OPTS and TEMP_CONFIG together
>>>     TEMP_CONFIG="path/to/test.conf" EXTRA_REGRESS_OPTS="--load-extension=pgcrypto" meson test
>>
>> Yeah, we probably should. But not sure where, maybe at
>> https://www.postgresql.org/docs/current/install-meson.html or did you
>> imagine somewhere else?
> 
> Either at docs or/and directly in file /src/tools/testwrap as comments
> Regards.

If we add it to the documentation the question is if we should also 
document environment variables for builds with make. But maybe that is 
for a separate patch.

As for documenting it in testwrap: that does not feel very useful to me 
since people who know that this is where they should look likely already 
knows about these. It is a pretty hidden place. Hmm, not sure where such 
information belongs.

Andreas




pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Re: pg_recvlogical: Prevent flushed data from being re-sent after restarting replication
Next
From: Marcos Magueta
Date:
Subject: Re: WIP - xmlvalidate implementation from TODO list