Change lcov option to fix build error 48/307548/1
authorSukhyungKang <shine.kang@samsung.com>
Tue, 12 Mar 2024 04:12:32 +0000 (13:12 +0900)
committerSukhyungKang <shine.kang@samsung.com>
Tue, 12 Mar 2024 04:12:32 +0000 (13:12 +0900)
Change-Id: I9fd75c5def4986955d78549495960536b9f647d8
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
packaging/notification.spec

index 397239d819095a7bb7c9015b8eb318e88021b0e1..9c0ca646dfc43f0e51c5aec8deacf8d601a61ccc 100644 (file)
@@ -76,7 +76,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %check
 ctest -V
 %if 0%{?gcov:1}
-lcov -c --ignore-errors graph --no-external -q -d . -o notification.info
+lcov -c --ignore-errors mismatch,graph,unused --no-external -q -d . -o notification.info
 genhtml notification.info -o notification.out
 zip -r notification.zip notification.out
 install -m 0644 notification.zip %{buildroot}%{_datadir}/gcov/obj/notification.zip