From 3223ed56602ae13f0ca6c6fbf2eea8eebc611379 Mon Sep 17 00:00:00 2001 From: Narek Galstyan Date: Sun, 19 Apr 2026 22:11:25 -0400 Subject: [PATCH 3/3] Regenerate configure after make coverage-html fixes for lcov v2 --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index f66c1054a7a..c0d24bc13ff 100755 --- a/configure +++ b/configure @@ -777,6 +777,7 @@ enable_tap_tests enable_dtrace DTRACEFLAGS DTRACE +LCOV_EXTRA_FLAGS enable_coverage GENHTML LCOV @@ -3474,6 +3475,11 @@ fi if test -z "$LCOV"; then as_fn_error $? "lcov not found" "$LINENO" 5 fi +lcov_version=$($LCOV --version 2>/dev/null | sed 's/^.* //') +lcov_major_version=$(echo "$lcov_version" | sed 's/\..*//') +if test "$lcov_major_version" -ge 2 2>/dev/null; then + LCOV_EXTRA_FLAGS="--ignore-errors inconsistent,range" +fi if test -z "$GENHTML"; then for ac_prog in genhtml do -- 2.50.1 (Apple Git-155)