| From: | Aleksander Alekseev <aleksander(at)tigerdata(dot)com> |
|---|---|
| To: | Viktor Holmberg <v(at)viktorh(dot)net> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Running a single test |
| Date: | 2025-11-17 11:15:52 |
| Message-ID: | CAJ7c6TP1Pcz7KPu9u6XifgwdvQZ0+6Ezd0NH7j3iz1=XEgCJMA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Victor,
> Apologies if this is a n00b question - but really can’t find anything about it in the docs.
> I can run all the regression tests with `make test`. But is there a way to run a single specific test?
> It’d be nice to do this for example when adding extra assertions to a test, without touching the code.
I would recommend using Meson. It's much faster and Autotools support
will be removed in the future.
I have a little cheat sheet on the subject [1]. It's in Russian but
Google Translate will help. For instance you can do:
```
meson test -C build --suite postgresql:test_slru 'test_slru/regress'
```
If you believe there is room for improvement in the official
documentation, patches are welcome.
[1]: https://eax.me/2022/2022-12-19-postgresql-meson.html
--
Best regards,
Aleksander Alekseev
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Holger Hoffstätte | 2025-11-17 11:31:21 | Re: [PATCH] jit: fix build with LLVM-21 |
| Previous Message | Thomas Munro | 2025-11-17 11:11:42 | Re: [PATCH] jit: fix build with LLVM-21 |