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>
%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/