Re: Having problems generating a code coverage report

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Aleksander Alekseev <aleksander@timescale.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, jian he <jian.universality@gmail.com>, Michael Paquier <michael@paquier.xyz>, Peter Geoghegan <pg@bowt.ie>
Date: 2026-01-21T18:57:58Z
Lists: pgsql-hackers
Hi,

On 2024-11-01 18:42:37 +0300, Aleksander Alekseev wrote:
> Hi everyone,
> 
> > I upgraded to Meson 1.6.0 and Lcov 2.0-1. Unfortunately it doesn't work:
> > [...]
> > I didn't investigate further.
> 
> Lcov 2.1 and 2.2beta don't work either.

I just encountered this. The problem seems to only happen when the build
directory is inside the source directory.

Not that that's a great solution, but just having the build dir be in a
separate directory fixed the issue for me.

Greetings,

Andres Freund