Re: Having problems generating a code coverage report

2025-01-28 Thread Michael Paquier
On Wed, Jan 15, 2025 at 07:51:39PM -0500, Peter Geoghegan wrote: > I was able to get the lcov git master branch's tip to produce a > Postgres coverage report (same compiler version and OS as before). > Unfortunately, I had to use an even grottier incantation to get this > to work: > > make -s cove

Re: Having problems generating a code coverage report

2025-01-15 Thread Peter Geoghegan
On Wed, Jan 15, 2025 at 4:44 PM Tom Lane wrote: > With this, I got plausible-looking html output (I didn't vet it > in detail, but a couple of spot checks looked sane). > > I'm curious whether a similar workaround will help with the > Debian toolchain. Looks like it will. I was able to get the l

Re: Having problems generating a code coverage report

2025-01-15 Thread Tom Lane
Peter Geoghegan writes: > On Wed, Oct 30, 2024 at 5:26 PM Peter Geoghegan wrote: >> I've also been unable to generate coverage reports for some time (at >> least on Debian, with LCOV version 2.0-1). > I found a temporary workaround. I'm now once again able to produce > html coverage reports on m

Re: Having problems generating a code coverage report

2025-01-15 Thread Peter Geoghegan
On Wed, Oct 30, 2024 at 5:26 PM Peter Geoghegan wrote: > I use Debian unstable for most of my day to day work. Apparently > Debian unstable has exactly the same version of lcov as Ubuntu 24.04. > > I've also been unable to generate coverage reports for some time (at > least on Debian, with LCOV ve

Re: Having problems generating a code coverage report

2024-11-01 Thread Aleksander Alekseev
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. -- Best regards, Aleksander Alekseev

Re: Having problems generating a code coverage report

2024-11-01 Thread Aleksander Alekseev
Hi, > Thanks for the hint. I'm using Meson 1.3.2. Although it's not ancient > (Feb 2024) there is 1.6.0 available. I'll try upgrading and let you > know the results. I upgraded to Meson 1.6.0 and Lcov 2.0-1. Unfortunately it doesn't work: ``` genhtml: ERROR: no data for line:864, TLA:UNC, file:/

Re: Having problems generating a code coverage report

2024-10-31 Thread Aleksander Alekseev
Hi Jian, > > I downgraded to lcov 1.16 [1] and it helped. This is merely a > > workaround of course, not a long-time solution. > > > > [1]: https://github.com/linux-test-project/lcov/releases/tag/v1.16 > > > > -- > > my ubuntu meson version: 0.61.2, which also fails. > with similar errors you've p

Re: Having problems generating a code coverage report

2024-10-31 Thread jian he
On Thu, Oct 31, 2024 at 10:02 PM Aleksander Alekseev wrote: > > Hi, > > > On Wed, Oct 30, 2024 at 05:26:49PM -0400, Peter Geoghegan wrote: > > > I use Debian unstable for most of my day to day work. Apparently > > > Debian unstable has exactly the same version of lcov as Ubuntu 24.04. > > > > > >

Re: Having problems generating a code coverage report

2024-10-31 Thread Aleksander Alekseev
Hi, > On Wed, Oct 30, 2024 at 05:26:49PM -0400, Peter Geoghegan wrote: > > I use Debian unstable for most of my day to day work. Apparently > > Debian unstable has exactly the same version of lcov as Ubuntu 24.04. > > > > I've also been unable to generate coverage reports for some time (at > > lea

Re: Having problems generating a code coverage report

2024-10-30 Thread Michael Paquier
On Wed, Oct 30, 2024 at 05:26:49PM -0400, Peter Geoghegan wrote: > I use Debian unstable for most of my day to day work. Apparently > Debian unstable has exactly the same version of lcov as Ubuntu 24.04. > > I've also been unable to generate coverage reports for some time (at > least on Debian, wit

Re: Having problems generating a code coverage report

2024-10-30 Thread Peter Geoghegan
On Wed, Oct 30, 2024 at 5:21 PM Aleksander Alekseev wrote: > I'm using Xubuntu 24.04 LTS and my lcov version is: > > ``` > $ lcov --version > lcov: LCOV version 2.0-1 > ``` I use Debian unstable for most of my day to day work. Apparently Debian unstable has exactly the same version of lcov as Ubu

Having problems generating a code coverage report

2024-10-30 Thread Aleksander Alekseev
Hi hackers, Recently I tried to build a code coverage report according to the documentation [1]. When using the following command: ``` time sh -c 'git clean -dfx && meson setup --buildtype debug -DPG_TEST_EXTRA="kerberos ldap ssl" -Db_coverage=true -Dldap=disabled -Dssl=openssl -Dcassert=true -Dt