Skip to content

Commit 0cf4098

Browse files
anyj0527again4you
authored andcommitted
[Build] Fix coverage build error
- Add `--ignore-errors unused` Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
1 parent 7356ae6 commit 0cf4098

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packaging/machine-learning-api.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ VCS=`cat ${RPM_SOURCE_DIR}/machine-learning-api.spec | grep "^VCS:" | sed "s|VCS
465465
pushd build
466466
# Set different lcov options for Tizen/lcov versions.
467467
%if 0%{tizen_version_major} >= 9
468-
lcov -t 'ML API unittest coverage' -o unittest_test.info -c -d . -b $(pwd) --ignore-errors mismatch,empty --exclude "unittest*"
468+
lcov -t 'ML API unittest coverage' -o unittest_test.info -c -d . -b $(pwd) --ignore-errors mismatch,empty,unused --exclude "unittest*"
469469
lcov -a unittest_base.info -a unittest_test.info -o unittest_total.info --ignore-errors empty
470470
lcov -r unittest_total.info "*/tests/*" "*/meson*/*" "*/*@sha/*" "*/*.so.p/*" "*/*tizen*" "*/*-dbus.c" "/usr/*" -o unittest-filtered.info --ignore-errors graph,unused
471471
%else

0 commit comments

Comments
 (0)