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

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

index d269711..97a9fd9 100644 (file)
@@ -62,7 +62,7 @@ make %{?_smp_mflags}
 %check
 (cd tests && cd unittest && LD_LIBRARY_PATH=../../ ctest -V)
 %if 0%{?gcov:1}
-lcov -c --ignore-errors graph --no-external -q -d . -o rua.info
+lcov -c --ignore-errors mismatch,graph,unused --no-external -q -d . -o rua.info
 genhtml rua.info -o rua.out
 zip -r rua.zip rua.out
 install -m 0644 rua.zip %{buildroot}%{_datadir}/gcov/