Re: Add documentation for coverage reports with meson

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add documentation for coverage reports with meson
Дата
Msg-id ZAknaEMnLonuK+nc@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add documentation for coverage reports with meson  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
On Wed, Mar 08, 2023 at 05:23:48PM +0100, Peter Eisentraut wrote:
> The "cd" command needs to be moved after the meson commands, and the meson
> commands need to have a -C builddir option.

Still that's not mandatory, is it?  The compile and test commands of
meson work as well if you are located at the root of the build
directory, AFAIK.

> So it should be like
>
> <screen>
> meson setup -Db_coverage=true ... OTHER OPTIONS ... builddir/
> meson compile -C builddir
> meson test -C builddir
> cd builddir/
> ninja coverage-html
> </screen>
>
> Otherwise, this looks good to me.

Anyway, this works as well and I don't have any arguments against
that.  So I have used your flow, and applied the patch.  I have
actually switched my own scripts to rely more on -C, removing direct
calls to ninja ;p

Thanks for the feedback.
--
Michael

Вложения

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

Предыдущее
От: Andrey Borodin
Дата:
Сообщение: Re: psql \watch 2nd argument: iteration count
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Should vacuum process config file reload more often