Re: Coverage (lcov) failing with inconsistent error in versions 2.x - Mailing list pgsql-hackers

From Jonathan Gonzalez V.
Subject Re: Coverage (lcov) failing with inconsistent error in versions 2.x
Date
Msg-id 874iiibxui.fsf@gmail.com
Whole thread
In response to Re: Coverage (lcov) failing with inconsistent error in versions 2.x  (Jacob Champion <jacob.champion@enterprisedb.com>)
Responses Re: Coverage (lcov) failing with inconsistent error in versions 2.x
List pgsql-hackers
Hi!

Jacob Champion <jacob.champion@enterprisedb.com> writes:
> Thanks for the patch!

Thanks for the quick answer!

> I'm not sure we should get on the treadmill of catering to lcov, when
> I look at the huge number of errors its 2.x line now throws for
> widely-used compilers and coding styles. (Right now my ignore_errors
> setting is up to six categories, I think. Which is unfortunate, but
> its signal-to-noise ratio is just not good right now. Just yesterday I
> had to patch out an error in 2.4 that was preventing me from running
> genhtml.)
>
> --Jacob

Right now with the version that I have for Ubuntu 26.04 (lcov 2.0) I
don't have more issues than the `range` one that I'm trying to confirm
in the other thread if it is or not an issue.

Well, if we're not tracking down all the errors, at least we should try
to keep some fix related to the code that make sense, and for other
errors, probably we should document which version of lcov we support and
the proper .lcovrc file with the errors to ignore so no one have the
same problem in the future?

I don't think anyone will want to add a .lcovrc file to the repository,
but probably a sample file in the documentation will work?

Thanks!
--
Jonathan Gonzalez V.
EDB
https://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [PATCH] Add pg_get_table_ddl() to reconstruct CREATE TABLE statements
Next
From: Fujii Masao
Date:
Subject: Re: Clear base backup progress reporting on error