Re: PG_TEST_EXTRA and meson - Mailing list pgsql-hackers

From Nazir Bilal Yavuz
Subject Re: PG_TEST_EXTRA and meson
Date
Msg-id CAN55FZ0XP7pX9zW_SjqH_Ce4va6bNe1MWt9GAp7acfXtNrbR2g@mail.gmail.com
Whole thread Raw
In response to Re: PG_TEST_EXTRA and meson  (Jacob Champion <jacob.champion@enterprisedb.com>)
Responses Re: PG_TEST_EXTRA and meson
List pgsql-hackers
Hi,

On Wed, 17 Jul 2024 at 00:27, Jacob Champion
<jacob.champion@enterprisedb.com> wrote:
>
> On Tue, Jul 16, 2024 at 2:12 PM Nazir Bilal Yavuz <byavuz81@gmail.com> wrote:
> >
> > 2- If PG_TEST_EXTRA is set from the setup command, use it from the
> > setup command and discard the environment variable. If PG_TEST_EXTRA
> > is not set from the setup command, then use it from the environment.
>
> Is there a way for the environment to override the Meson setting
> rather than vice-versa? My vote would be to have both available, but
> with the implementation in patch 2 I'd still have to reconfigure if I
> wanted to change my test setup.

I think something like attached does the trick. I did not test it
extensively but it passed the couple of tests I tried.

--
Regards,
Nazir Bilal Yavuz
Microsoft

Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: [PATCH] Refactor pqformat.{c,h} and protocol.h
Next
From: Tomas Vondra
Date:
Subject: Re: RFC: pg_stat_logmsg