Add documentation for coverage reports with meson

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Add documentation for coverage reports with meson
Date: 2023-02-28 08:49:39
Message-ID: Y/3AI+/MqKcjLk/
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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
meson test
ninja coverage-html

As far as I can see, there is no option to generate anything else than
a HTML report? This portion is telling the contrary, still it does
not seem to work here and ninja does the job with coverage-html or
coverage as only available targets:

Side issue: the current code generates no reports for the files that
are automatically generated in src/backend/nodes/, which are actually
part of src/include/ for a meson build. I have not looked into that


Attachment Content-Type Size
meson-coverage-docs.patch text/x-diff 3.8 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2023-02-28 08:52:03 Re: Option to not use ringbuffer in VACUUM, using it in failsafe mode
Previous Message Amit Kapila 2023-02-28 08:35:52 Re: Time delayed LR (WAS Re: logical replication restrictions)