Re: Add support for EXTRA_REGRESS_OPTS for meson
| От | Andreas Karlsson |
|---|---|
| Тема | Re: Add support for EXTRA_REGRESS_OPTS for meson |
| Дата | |
| Msg-id | 2b3554b9-d365-4b8a-ada1-ce81144a9c84@proxel.se обсуждение исходный текст |
| Ответ на | Re: Add support for EXTRA_REGRESS_OPTS for meson (Rustam ALLAKOV <rustamallakov@gmail.com>) |
| Список | 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 по дате отправления: