From: | Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> |
---|---|
To: | Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com> |
Cc: | Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, Tristan Partin <tristan(at)partin(dot)io>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net> |
Subject: | Re: PG_TEST_EXTRA and meson |
Date: | 2024-08-23 12:57:48 |
Message-ID: | CAExHW5uZOS8WJthm9r2je2QAkw8S4ubfndTk9zPnAq17Haka_A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Jacob,
On Wed, Aug 14, 2024 at 6:19 PM Jacob Champion
<jacob(dot)champion(at)enterprisedb(dot)com> wrote:
>
> On Tue, Aug 13, 2024 at 9:07 PM Ashutosh Bapat
> <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> wrote:
> > > I'm not entirely sure what you mean? src/test should work fine,
> > > anything lower than that (say src/test/ssl) does not.
> >
> > I could run them from src/test/modules/xid_wraparound/. That's desirable.
>
> On my machine, storing xid_wraparound into PG_TEST_EXTRA at configure
> time and running `make check` from the modules/xid_wraparound
> directory causes them to be skipped. Setting the environment variable
> will continue to work at that directory level, though; my patch
> shouldn't change that.
>
> > What is working now should continue to work even after this change.
> > PG_TEST_EXTRA="xyz" make check works right now.
>
> Fair point, see attached.
If I run
export PG_TEST_EXTRA=xid_wraparound; ./configure --prefix=$BuildDir
--enable-tap-tests && make -j4 && make -j4 install; unset
PG_TEST_EXTRA
followed by
make -C $XID_MODULE_DIR check where
XID_MODULE_DIR=src/test/modules/xid_wraparound - it skips the tests.
I thought this was working before.
Anyway, now I have written a script to test all the scenarios. You may
want to test your patch using the script. It just needs PGDir to set
to root directory of code.
If there's some other way to setting PG_TEST_EXTRA when running
configure, I think it needs to be documented.
--
Best Wishes,
Ashutosh Bapat
Attachment | Content-Type | Size |
---|---|---|
test_pg_test_extra.sh | application/x-shellscript | 3.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2024-08-23 12:58:46 | Re: POC, WIP: OR-clause support for indexes |
Previous Message | Tomas Vondra | 2024-08-23 12:50:41 | Re: pg_combinebackup --clone doesn't work |