Re: Add documentation for coverage reports with meson

2023-03-08 Thread Michael Paquier
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

Re: Add documentation for coverage reports with meson

2023-03-08 Thread Peter Eisentraut
On 03.03.23 12:12, Michael Paquier wrote: + +meson setup -Db_coverage=true ... OTHER OPTIONS ... builddir/ +cd builddir/ +meson compile +meson test +ninja coverage-html + The "cd" command needs to be moved after the meson commands, and the meson commands need to have a -C builddir option. So

Re: Add documentation for coverage reports with meson

2023-03-03 Thread Michael Paquier
On Fri, Mar 03, 2023 at 10:10:15AM +0100, Peter Eisentraut wrote: > genhtml is part of the lcov package. I think it would be confusing to > mention it explicitly, since you won't be able to find it as something to > install. Maybe leave the original list and change "programs" to "packages"?

Re: Add documentation for coverage reports with meson

2023-03-03 Thread Peter Eisentraut
On 28.02.23 09:49, Michael Paquier wrote: -when compiling with GCC, and it requires the gcov -and lcov programs. +when compiling with GCC, and it requires the gcov, +lcov and genhtml programs. genhtml is part of the lcov package. I think it would be confusing to mention it

Add documentation for coverage reports with meson

2023-02-28 Thread Michael Paquier
Hi all, I have mentioned on a different thread of -docs that we have no documentation to achieve $subject, so attached is a patch to add something. This can be done with the following steps: meson setup -Db_coverage=true .. blah ninja meson test ninja coverage-html As far as I can see, there is