From 32073b31577ff7e5de143c9a74df907d30a4b7ba Mon Sep 17 00:00:00 2001 From: Jaeyun Jung Date: Fri, 23 Jan 2026 11:00:54 +0900 Subject: [PATCH] [Build] option with gcov build Fix build error on tizen with gcov build option. Signed-off-by: Jaeyun Jung --- packaging/mlops-agent.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/mlops-agent.spec b/packaging/mlops-agent.spec index 25e537e..7b36195 100644 --- a/packaging/mlops-agent.spec +++ b/packaging/mlops-agent.spec @@ -213,7 +213,7 @@ VCS=`cat ${RPM_SOURCE_DIR}/mlops-agent.spec | grep "^VCS:" | sed "s|VCS:\\W*\\(. pushd %{builddir} # Set different lcov options for Tizen/lcov versions. %if 0%{tizen_version_major} >= 9 -lcov -t 'ML-Agent unittest coverage' -o unittest_test.info -c -d . -b $(pwd) --ignore-errors mismatch,empty --exclude "unittest*" +lcov -t 'ML-Agent unittest coverage' -o unittest_test.info -c -d . -b $(pwd) --ignore-errors mismatch,empty,unused --exclude "unittest*" lcov -a unittest_base.info -a unittest_test.info -o unittest_total.info --ignore-errors empty lcov -r unittest_total.info "*/tests/*" "*/meson*/*" "*/*@sha/*" "*/*.so.p/*" "*/*tizen*" "*/*-dbus.c" "/usr/*" -o unittest-filtered.info --ignore-errors graph,unused %else