Re: Document how to run only specific regress tests - Mailing list pgsql-docs

From jian he
Subject Re: Document how to run only specific regress tests
Date
Msg-id CACJufxE85YK_i9dDJdPk8HiaFAyHBVO7AEqDZOrqQ19WVJ=eEA@mail.gmail.com
Whole thread Raw
List pgsql-docs
On Tue, Oct 29, 2024 at 12:40 PM Paul A Jungwirth
<pj@illuminatedcomputing.com> wrote:
>
> I never knew this was possible, but I ran across a note on the meson
> wiki page[1]. I wish I knew about it years ago!
>
> This patch adds a note to
> https://www.postgresql.org/docs/current/regress-run.html so that other
> hackers and potential hackers will know about it.
>
> [1] https://wiki.postgresql.org/wiki/Meson

Thanks for your patch!
you can also check meson TESTS patch in
https://postgr.es/m/CAN55FZ3dSdvujT8yup1C=YOfTATrBrWcLtHmtXupcbog7Va-Xw@mail.gmail.com

Since this is mostly for postgres development, slightly expanding it
would be better.
I think we can also mention that:
1. all the available regress tests are on src/test/regress/sql.
2. regress test name is the same as these files omit file format.
For example "src/test/regress/sql/partition_join.sql" corresponding
regression test name is partition_join
3. individual tests will be executed in that specific order.
TESTS="test_setup copy'
will first execute 'test_setup' then 'copy'
4. Many tests depend on test_setup, some tests depend on create_index.
5. specify duplicate tests may make the tests fail.



pgsql-docs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Document how to run only specific regress tests
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: psql command