From: DoHyun Pyun Date: Tue, 1 Sep 2020 00:45:49 +0000 (+0900) Subject: Fix the ASAN build error X-Git-Tag: submit/tizen/20200901.064142~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=474d06dd56701ec377be5d8d7ffc1499342133bb;p=platform%2Fcore%2Fapi%2Fbluetooth.git Fix the ASAN build error Change-Id: Ic4f782c2bb1950f39d8d61405605bb77c3673a71 Signed-off-by: DoHyun Pyun --- diff --git a/packaging/capi-network-bluetooth.spec b/packaging/capi-network-bluetooth.spec index f99aeda..ffe22d9 100644 --- a/packaging/capi-network-bluetooth.spec +++ b/packaging/capi-network-bluetooth.spec @@ -103,6 +103,9 @@ install -d -m 755 %{buildroot}%{_datadir}/gcov/obj tar xf %{name}-gcov.tar -C %{buildroot}%{_datadir}/gcov/obj %endif +mkdir -p %{buildroot}%{_unitdir} +install -m 0644 tests/test/bt_infinite_spp_test_server.service %{buildroot}%{_unitdir}/bt_infinite_spp_test_server.service + %check LD_LIBRARY_PATH=. LD_PRELOAD=tests/unittest/libbluetooth-mock.so tests/unittest/tct-bluetooth-core %if 0%{?gcov:1} @@ -110,9 +113,6 @@ lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}.info --exclude genhtml %{name}.info -o out --legend --show-details %endif -mkdir -p %{buildroot}%{_unitdir} -install -m 0644 tests/test/bt_infinite_spp_test_server.service %{buildroot}%{_unitdir}/bt_infinite_spp_test_server.service - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig