Re: Running a single test

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: Running a single test
Дата
Msg-id CAJ7c6TP1Pcz7KPu9u6XifgwdvQZ0+6Ezd0NH7j3iz1=XEgCJMA@mail.gmail.com
обсуждение исходный текст
Ответ на Running a single test  (Viktor Holmberg <v@viktorh.net>)
Список 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



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