From a9117bb1c3897a44b7a652bc77e89e210d186f42 Mon Sep 17 00:00:00 2001 From: Chanwoo Choi Date: Tue, 12 Mar 2024 17:00:30 +0900 Subject: [PATCH] packaging: Fix gcov build error by adding the ignore error cases By upgrading lcov package version, there are new build error before build warning. Fix gcov build error by adding the ignore error cases of 'mismatch' and 'unused' options. Change-Id: I2ed323bb036267ce3ecfdde646dff63502353cc4 Signed-off-by: Chanwoo Choi --- packaging/dlog.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/dlog.spec b/packaging/dlog.spec index c3986bb..64fb7e4 100644 --- a/packaging/dlog.spec +++ b/packaging/dlog.spec @@ -174,7 +174,7 @@ make dox %if 0%{?gcov:1} %check -n libdlog -lcov -c --ignore-errors graph --no-external -q -d ./src -o dlog.info +lcov -c --ignore-errors mismatch,graph,unused --no-external -q -d ./src -o dlog.info genhtml dlog.info -o dlog.out zip -r dlog.zip dlog.out dlog.info install -m 0644 dlog.zip %{buildroot}%{_datadir}/gcov/ -- 2.7.4