Re: PG_TEST_EXTRA and meson

Поиск
Список
Период
Сортировка
От Ashutosh Bapat
Тема Re: PG_TEST_EXTRA and meson
Дата
Msg-id CAExHW5tvqRh_fZnHjubS+NafR-L_-kQ_cNkoK77hbAn4Cnv-BQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG_TEST_EXTRA and meson  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
Ответы Re: PG_TEST_EXTRA and meson
Список pgsql-hackers
On Tue, Jul 23, 2024 at 4:02 PM Nazir Bilal Yavuz <byavuz81@gmail.com> wrote:
>
> > I wonder whether we really require pg_test_extra argument to testwrap.
> > Why can't we use the logic in testwrap, to set run time PG_TEST_EXTRA,
> > in meson.build directly? I.e. set test_env['PG_TEST_EXTRA'] to
> > os.environ[;PG_TEST_EXTRA'] if the latter is set, otherwise set the
> > first to get_option('PG_TEST_EXTRA').
>
> When test_env('PG_TEST_EXTRA') is set, it could not be overridden
> afterwards. Perhaps there is a way to override test_env() but I do not
> know how.
>

I am not suggesting to override test_env['PG_TEST_EXTRA'] but set it
to the value after overriding if required. meson.build file seems to
allow some conditional variable setting. So I thought this would be
possible, haven't tried myself though.

--
Best Wishes,
Ashutosh Bapat



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Nazir Bilal Yavuz
Дата:
Сообщение: Re: PG_TEST_EXTRA and meson
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: xid_wraparound tests intermittent failure.