packaging: Fix gcov build error by adding the ignore error cases 00/307700/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20240313.134529 accepted/tizen/unified/20240313.135608 accepted/tizen/unified/x/20240314.073326
authorChanwoo Choi <cw00.choi@samsung.com>
Tue, 12 Mar 2024 08:00:30 +0000 (17:00 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 12 Mar 2024 08:00:30 +0000 (17:00 +0900)
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 <cw00.choi@samsung.com>
packaging/dlog.spec

index c3986bb..64fb7e4 100644 (file)
@@ -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/