0001-Tweak-lcov-commands.patch
text/x-diff
Filename: 0001-Tweak-lcov-commands.patch
Type: text/x-diff
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch 0001
Subject: Tweak lcov commands
| File | + | − |
|---|---|---|
| src/Makefile.global.in | 2 | 2 |
From db627eb90cf625249a670300e295cff1c69c0a88 Mon Sep 17 00:00:00 2001 From: Michael Paquier <michael@paquier.xyz> Date: Thu, 22 Jan 2026 14:32:45 +0900 Subject: [PATCH] Tweak lcov commands This fixes coverage reports for non-VPATH builds, generates incorrect reports with VPATH builds. --- src/Makefile.global.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 947a2d79e291..d066ed162034 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -1061,12 +1061,12 @@ LCOVFLAGS = -q --no-external all_gcno_files = $(shell find . -name '*.gcno' -print) lcov_base.info: $(all_gcno_files) - $(LCOV) $(LCOVFLAGS) -c -i -d . -d $(srcdir) -o $@ + $(LCOV) $(LCOVFLAGS) -c -i -d . -o $@ all_gcda_files = $(shell find . -name '*.gcda' -print) lcov_test.info: $(all_gcda_files) - $(LCOV) $(LCOVFLAGS) -c -d . -d $(srcdir) -o $@ + $(LCOV) $(LCOVFLAGS) -c -d . -o $@ # hook for clean-up -- 2.51.0