Re: Add documentation for coverage reports with meson - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Add documentation for coverage reports with meson
Date
Msg-id d3751ca3-1ac9-cc5e-9315-cf9fb0eaa9e9@enterprisedb.com
Whole thread Raw
In response to Re: Add documentation for coverage reports with meson  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Add documentation for coverage reports with meson
List 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.




pgsql-hackers by date:

Previous
From: Önder Kalacı
Date:
Subject: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher
Next
From: Peter Eisentraut
Date:
Subject: Re: allow meson to find ICU in non-standard localtion