From: Dohyun Pyun Date: Tue, 12 Mar 2024 04:13:30 +0000 (+0900) Subject: Fix the gcov build error X-Git-Tag: accepted/tizen/unified/20240313.134901^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9887cd472b094eb7bad6497b2bd7c11b8e479dc6;p=platform%2Fcore%2Fapi%2Fbluetooth.git Fix the gcov build error Change-Id: I951c2396d162705a3ba5940f68a57883e974b536 Signed-off-by: Dohyun Pyun --- diff --git a/packaging/capi-network-bluetooth.spec b/packaging/capi-network-bluetooth.spec index 3b8aee1..64125c0 100644 --- a/packaging/capi-network-bluetooth.spec +++ b/packaging/capi-network-bluetooth.spec @@ -1,7 +1,7 @@ Name: capi-network-bluetooth Summary: Network Bluetooth Framework Version: 0.9.0 -Release: 1 +Release: 2 Group: Connectivity/API License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -150,7 +150,7 @@ install -m 0755 run-unittest.sh %{buildroot}%{_bindir}/tizen-unittests/%{name} LD_LIBRARY_PATH=. LD_PRELOAD=tests/unittest/libbluetooth-mock.so tests/unittest/tct-bluetooth-core %if 0%{?gcov:1} rm -rf tests -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