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/T@paquier.xyz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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
ninja
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:
https://mesonbuild.com/howtox.html#producing-a-coverage-report
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
yet.
Thoughts?
--
Michael
Attachment | Content-Type | Size |
---|---|---|
meson-coverage-docs.patch | text/x-diff | 3.8 KB |
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) |