| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Peter Geoghegan <pg(at)bowt(dot)ie> |
| Subject: | Re: Having problems generating a code coverage report |
| Date: | 2026-02-17 17:28:24 |
| Message-ID: | 202602171717.ev3v7dmfsvck@alvherre.pgsql |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2026-Feb-17, Álvaro Herrera wrote:
> Nope, it's a straight in-tree build. I made it work after a few more
> failed tries with a call like
>
> GENHTML_FLAGS="-q --legend --ignore-errors unmapped,corrupt,inconsistent,range"
> LCOVFLAGS="-q --legend --ignore-errors usage"
> make coverage-html
Correction. These variables are not taken into account if given as
environment variables, but they are if given as make arguments.
Moreover, --legend makes lcov die. So, apparently this one works:
make coverage-html LCOVFLAGS="-q --ignore-errors usage" GENHTML_FLAGS="-q --legend --ignore-errors unmapped,corrupt,inconsistent,range"
I also removed a file called .lcovrc that only had this line
lcov_branch_coverage = 0
though that doesn't appear to have automatically added branch coverage
to the report. However, I'll wait until the next run to see if anything
changes.
The CSS problem appears to have been a caching glitch, and now it works,
so I guess the cached file must have expired. It looks Christmas-treeish
again now.
--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"No renuncies a nada. No te aferres a nada."
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2026-02-17 17:32:49 | Re: [WIP]Vertical Clustered Index (columnar store extension) - take2 |
| Previous Message | Jonathan Gonzalez V. | 2026-02-17 17:18:16 | Re: Make PGOAUTHCAFILE in libpq-oauth work out of debug mode |