Re: Add documentation for coverage reports with meson
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-03-08T16:23:48Z
Lists: pgsql-hackers
On 03.03.23 12:12, Michael Paquier wrote: > +<screen> > +meson setup -Db_coverage=true ... OTHER OPTIONS ... builddir/ > +cd builddir/ > +meson compile > +meson test > +ninja coverage-html > +</screen> The "cd" command needs to be moved after the meson commands, and the meson commands need to have a -C builddir option. 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.
Commits
-
doc: Add guidelines to generate coverage reports with meson
- f1c3963292e4 16.0 landed