Skip to content

Conversation

@jaeyun-jung
Copy link
Contributor

Fix line coverage error after upgrading lcov.

Comment on lines 216 to 218
lcov -i -t 'ML-Agent unittest coverage' -o unittest_test.info -c -d . -b $(pwd) --ignore-errors mismatch --exclude "unittest*"
lcov -i -a unittest_base.info -a unittest_test.info -o unittest_total.info --ignore-errors empty
lcov -i -r unittest_total.info "*/tests/*" "*/meson*/*" "*/*@sha/*" "*/*.so.p/*" "*/*tizen*" "*/*-dbus.c" "/usr/*" -o unittest-filtered.info --ignore-errors graph,unused
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you add -i, it will ignore the actual test results (.gcda) and create 0% coverage data again. Right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes right, it would be fixed.

Fix line coverage error after upgrading lcov.

Signed-off-by: Jaeyun Jung <[email protected]>
Copy link
Member

@anyj0527 anyj0527 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@again4you again4you left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@again4you again4you merged commit 4c463f9 into nnstreamer:main Jan 22, 2026
8 checks passed
@jaeyun-jung jaeyun-jung deleted the fix-coverror branch January 22, 2026 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants