Fix lcov option for lcov 2.0 81/307581/1
authorChanggyu Choi <changyu.choi@samsung.com>
Tue, 12 Mar 2024 04:28:34 +0000 (13:28 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Tue, 12 Mar 2024 04:28:34 +0000 (13:28 +0900)
"mismatch,graph,unused" options are added.

Change-Id: I16ca4eede2c1b54c6013eeb33c74dd4fb1d5d187
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
packaging/libshortcut.spec

index c760215..b7c32cf 100644 (file)
@@ -85,7 +85,7 @@ make %{?jobs:-j%jobs}
 %check
 ctest -V
 %if 0%{?gcov:1}
-lcov -c --ignore-errors graph --no-external -q -d . -o shortcut.info
+lcov -c --ignore-errors mismatch,graph,unused --no-external -q -d . -o shortcut.info
 genhtml shortcut.info -o shortcut.out
 zip -r shortcut.zip shortcut.out
 install -m 0644 shortcut.zip %{buildroot}%{_datadir}/gcov/shortcut.zip