From: Chanwoo Choi Date: Tue, 12 Mar 2024 08:00:30 +0000 (+0900) Subject: packaging: Fix gcov build error by adding the ignore error cases X-Git-Tag: accepted/tizen/unified/20240313.134529^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;p=platform%2Fcore%2Fsystem%2Fdlog.git 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 --- 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/