From c60db742934b2e89c71ca1e912862738f0af51fc Mon Sep 17 00:00:00 2001 From: Yongjoo Ahn Date: Thu, 22 Jan 2026 20:45:53 +0900 Subject: [PATCH] [Build] Fix coverage build error - Add `--ignore-errors unused` Signed-off-by: Yongjoo Ahn --- packaging/machine-learning-api.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/machine-learning-api.spec b/packaging/machine-learning-api.spec index 81974c35..16f60dd3 100644 --- a/packaging/machine-learning-api.spec +++ b/packaging/machine-learning-api.spec @@ -465,7 +465,7 @@ VCS=`cat ${RPM_SOURCE_DIR}/machine-learning-api.spec | grep "^VCS:" | sed "s|VCS pushd build # Set different lcov options for Tizen/lcov versions. %if 0%{tizen_version_major} >= 9 -lcov -t 'ML API unittest coverage' -o unittest_test.info -c -d . -b $(pwd) --ignore-errors mismatch,empty --exclude "unittest*" +lcov -t 'ML API 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