Skip to content

Commit 32073b3

Browse files
committed
[Build] option with gcov build
Fix build error on tizen with gcov build option. Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
1 parent 4c463f9 commit 32073b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/mlops-agent.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ VCS=`cat ${RPM_SOURCE_DIR}/mlops-agent.spec | grep "^VCS:" | sed "s|VCS:\\W*\\(.
213213
pushd %{builddir}
214214
# Set different lcov options for Tizen/lcov versions.
215215
%if 0%{tizen_version_major} >= 9
216-
lcov -t 'ML-Agent unittest coverage' -o unittest_test.info -c -d . -b $(pwd) --ignore-errors mismatch,empty --exclude "unittest*"
216+
lcov -t 'ML-Agent unittest coverage' -o unittest_test.info -c -d . -b $(pwd) --ignore-errors mismatch,empty,unused --exclude "unittest*"
217217
lcov -a unittest_base.info -a unittest_test.info -o unittest_total.info --ignore-errors empty
218218
lcov -r unittest_total.info "*/tests/*" "*/meson*/*" "*/*@sha/*" "*/*.so.p/*" "*/*tizen*" "*/*-dbus.c" "/usr/*" -o unittest-filtered.info --ignore-errors graph,unused
219219
%else

0 commit comments

Comments
 (0)