Re: How to run test coverage on Debian 13 ?

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Pierre Forstmann <pierre(dot)forstmann(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: How to run test coverage on Debian 13 ?
Date: 2026-10-03 16:22:35
Message-ID: asEpB9kTJ-AVA9qP@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Pierre,

On 2026-Oct-03, Pierre Forstmann wrote:

> Hello,
>
> I'm trying to test run test coverage using master branch on Debian 13 with:

> What should I do ?

Yeah, lcov is apparently broken at the moment and requires some flags to
turn some of its errors into warnings. This thread has some recipes
that may be helpful:

https://postgr.es/m/akgWI8Cixc9b_7uB@alvherre.pgsql

I haven't tried with Meson, but maybe simply setting the same
environment variables is enough.

Some patches were offered, but I haven't tried them (yet):
https://postgr.es/m/CAHsn6_xCDQWe8_vVFhtFk27_xTdyVV+Dr0yWzaooBZ6+-VH-5w@mail.gmail.com

BTW the reports generated for branch master are at
https://coverage.postgresql.org/ (normal report)
and
https://coverage.postgresql.org/diff/ (differential coverage)

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2026-10-03 16:26:07 Re: Direct TOAST v2, faster, smaller and no migration needed
Previous Message Tom Lane 2026-10-03 16:21:45 Re: How to run test coverage on Debian 13 ?