Skip to contentSkip to conversation

MPTCP: CI: code coverage support

DISCUSSION Matthieu Baerts 1 participant 1 message Sep 26, 2024 Networking MPTCP

lore
Share & tools
lore

Matthieu Baerts

author maintainer
#0 lore raw

Hello,

FYI, the CI now supports code coverage using GCOV and LCOV.

The results are visible at different places:

- On the summary page of a "Tests" job on GitHub Action

- On ci-results: https://ci-results.mptcp.dev/lcov/

- On Coveralls: https://coveralls.io/github/multipath-tcp/mptcp_net-next

If you want to generate a LCOV file locally, you can build and start tests using MPTCP's Virtme Docker [1] launched with '-e INPUT_GCOV=1', then use the same docker with the 'lcov2html' option to easily generate the HTML output.

Do not hesitate to share suggestions of improvement and other ideas.

[1] https://github.com/multipath-tcp/mptcp-upstream-virtme-docker

Cheers,
Matt

Signature · 1 line
Sponsored by the NGI0 Core fund.