Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vsawI-008wJC-0R for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Feb 2026 06:21:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vsawH-00ELAT-1C for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Feb 2026 06:21:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vsawH-00ELAK-0G for pgsql-hackers@lists.postgresql.org; Wed, 18 Feb 2026 06:21:33 +0000 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vsawF-00000001JgN-0YG6 for pgsql-hackers@lists.postgresql.org; Wed, 18 Feb 2026 06:21:32 +0000 Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfhigh.stl.internal (Postfix) with ESMTP id E99F97A00CD; Wed, 18 Feb 2026 01:21:27 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Wed, 18 Feb 2026 01:21:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1771395687; x=1771482087; bh=O+Q6nyKMPl xN87+3aJNKeblZp2ekrHrqXv7uzfDOjZw=; b=atK1IRxt+nkX+kI0nKyj/wbC/x 0FHLNN4G6fPFccDhbnzgNX+AUVToqDUGmj2a8aCYuwdLmnEy4AEfdJOqSvbl5Fs0 CVrVGztyX0z//tO7M11MdoRC4qGy9gUkHaPCemX5uCZYwGZhRH4cM3HU72Kp8iy+ /f+DpOe30wNAhwQVHJWrXe4dNGn1M+D2OJFDjQIlaLl6qriHYAsbBEroe3rZy6u5 7BfOp9gQHF6MoZgOmGV8PauY+fpOa9cZ3c6iSGYSGpsK1mKT87Nw7Zo0hE2i4Kqd 1oOp6NMnbWR2CHzY0Vc5st2BnDnhWTO4K3+MKbtIXzVGw59NJm4TyOSxZZjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1771395687; x=1771482087; bh=O+Q6nyKMPlxN87+3aJNKeblZp2ekrHrqXv7 uzfDOjZw=; b=ozHjOzoz/Yh+kjzSUIFkXa1/H+E/WrGSVvjGnstQdipDqt296j3 2S4HjG3FjYl1mv9N20Pj1jnQNiGnRViePMs877Umesmx+i5EIll59EwiT6O9u3U3 BKirEPLvUS8Ngg4s8GUuSe3n/z1zlmNSot4is0meZ/YpSHhoHbdZ197JM09XEQeT l5zun9MIiiSQd4Y7KugUtU0gxOyb81iymlQfX0GPAw28dP/3TFZ9DwI32KJRyDnm D0ezc3Mit9UdNiR1oyINM5EceEiPuXdwy2XoP5LlgUJCM+CoGXP4VLX2kKx1EdkU 7/Ex+kgx1TSirY2AGtnYPMm7wfFp8s4LTtA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvvdduleduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghlvh hhvghrrhgvsehkuhhrihhlvghmuhdruggvpdhrtghpthhtohepshhtvghfrghnsehkrghl thgvnhgsrhhunhhnvghrrdgttgdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrdhprg druhhspdhrtghpthhtoheprghlvghkshgrnhguvghrsehtihhmvghstggrlhgvrdgtohhm pdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvg hsqhhlrdhorhhgpdhrtghpthhtohepphhgsegsohifthdrihgv X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 18 Feb 2026 01:21:25 -0500 (EST) Date: Wed, 18 Feb 2026 15:21:21 +0900 From: Michael Paquier To: =?iso-8859-1?Q?=C1lvaro?= Herrera Cc: Stefan Kaltenbrunner , Tom Lane , Aleksander Alekseev , PostgreSQL Hackers , Peter Geoghegan Subject: Re: Having problems generating a code coverage report Message-ID: References: <202602171700.7764hluoeh23@alvherre.pgsql> <202602171717.ev3v7dmfsvck@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="25Zn5dh/h9HJX+k+" Content-Disposition: inline In-Reply-To: <202602171717.ev3v7dmfsvck@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --25Zn5dh/h9HJX+k+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 17, 2026 at 06:28:24PM +0100, Alvaro Herrera wrote: > 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: >=20 > make coverage-html LCOVFLAGS=3D"-q --ignore-errors usage" GENHTML_FLAGS= =3D"-q --legend --ignore-errors unmapped,corrupt,inconsistent,range" >=20 > I also removed a file called .lcovrc that only had this line > lcov_branch_coverage =3D 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. Based on your ideas, I have been able to get my way through today with this modified artistic flavor, for a non-VPATH build, in a Fedora environment: make coverage-html \ LCOVFLAGS=3D"-q --ignore-errors gcov,gcov" \ GENHTML_FLAGS=3D"-q --legend --ignore-errors unmapped,corrupt,unmapped,= inconsistent" -- Michael --25Zn5dh/h9HJX+k+ Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmVWmEACgkQnvQgOdby QH3BCQ//QF1rB8kq4GtwTwBrxDTeobyzszz3GyLdr+WRymaqMW1lxa0oRkdod8Ml chvMJ5lU+NQEYSsj/Yypg/6MTiQFNl5JBXggkhoPJVtTBhbXvaziwEfQ55G7mMvR rht8ewNl1FCsJowIaa4eRJOb1RNmKuOXHrk1DuJS3D8alEZHkx+Z+UiZljkjpdlT HudgGTMEgYUu53ND3WSlJKu1tz3LW2dy+ZzDx/FXYVRSHIq61FDQOpj7MItVcvwK WXWfw7DJSz95sRDDba/CQulLOQT9I9l1yBF2lVl9dhliZ6j3jBUyR+EhutziCNaQ zr0VtCcQxEP6hqy7bUk3lGXuzz8ih9tEAahVqIX/PuL/f+ZdxoCupoBeeZlz7d30 Iwf7sFLJNwOjee14gUEffGzbbI8+zkRRbTonpNfw7CFOEPWlAf5wQLawQu5xV5OR StUxLGRe0PG5WU21Cxd/li54wISNKlS650wHnhhEZtGhUdo8GFfw90IjiD6IN5wA YKq5GZL5q+fYx43IE9fP2QMXHBEnxeyCKmmAMzMuxWyCitYsCGaNVBZ7I3WlxvWj yXptNMMCMW5Knj9RQwunl+sIjY11nU2Cf6Y5qGTSLEs13eeJT4bgeHjhqhrinnsi 3UbrUcD1akQff5wmyHkB+99Y3nfkz9Q2P8a4t1xKBJ448D4Nk3I= =KIgh -----END PGP SIGNATURE----- --25Zn5dh/h9HJX+k+--