]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Fix 'make coverage' when used with lcov version 2.0+
authorAaron Merey <amerey@redhat.com>
Mon, 6 May 2024 20:30:46 +0000 (16:30 -0400)
committerAaron Merey <amerey@redhat.com>
Mon, 6 May 2024 20:30:46 +0000 (16:30 -0400)
commitca8ad4648197bdf26712ff2841227fbcd23840ab
tree7fb90333f7f19ee060d621bbac6fefdff1684807
parenteeea53b41b12dc9633ce6a3b1eb5c7d0ba0e057f
Fix 'make coverage' when used with lcov version 2.0+

Starting with version 2.0, various lcov warnings now trigger an error
exit.  This results in 'make coverage' terminating before completion.

Fix this by invoking lcov and genhtml with --ignore-errors to prevent
the error exit when version 2.0+ is in use.

Manually tested by running elfutils-htdocs/update-coverage.sh with
lcov 1.14 and 2.0.

Signed-off-by: Aaron Merey <amerey@redhat.com>
Makefile.am
configure.ac