From 76eb7dd098ebe3863d170bdb1d999495b147af20 Mon Sep 17 00:00:00 2001 From: Dohyun Pyun Date: Tue, 12 Mar 2024 13:16:17 +0900 Subject: [PATCH] Fix gcov build error Change-Id: I74eb004330a5ecb32b701f56b0a801218a99ce62 Signed-off-by: Dohyun Pyun --- packaging/bluetooth-share.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/bluetooth-share.spec b/packaging/bluetooth-share.spec index 99589fd..97fddf8 100644 --- a/packaging/bluetooth-share.spec +++ b/packaging/bluetooth-share.spec @@ -1,7 +1,7 @@ Name: bluetooth-share Summary: Bluetooth file share Agent Version: 0.9.0 -Release: 0 +Release: 1 Group: Network & Connectivity/Bluetooth License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -101,7 +101,7 @@ install -D -m 0755 %{SOURCE1002} %{buildroot}%{TZ_SYS_UPGRADE_SCRIPTS} %check %if 0%{?gcov:1} LD_LIBRARY_PATH=lib LD_PRELOAD=tests/libbt-share-mock.so tests/bt-share-gtest -lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}.info +lcov -c --ignore-errors mismatch,graph,unused --no-external -b . -d . -o %{name}.info genhtml %{name}.info -o out --legend --show-details %endif -- 2.7.4