Re: Add documentation for coverage reports with meson

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add documentation for coverage reports with meson
Date: 2023-03-08 16:23:48
Message-ID: d3751ca3-1ac9-cc5e-9315-cf9fb0eaa9e9@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Responses

Browse pgsql-hackers by date

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