Skip to content

Enable code coverage support for kselftests #2913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented Jun 24, 2025

This PR allows kselftest jobs to retrieve, pack and upload coverage data when support is enabled in the kernel. It contains the following changes:

  • add curl to the bookworm-kselftest rootfs (needed for uploading the artifacts)
  • conditionally add the relevant template fragments to the kselftest* job templates to pack & upload coverage data

a-wai added 2 commits June 24, 2025 16:58
This is required to upload artifacts when enabling code coverage.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
When the kernel is built with GCOV support, we want to pack and upload
coverage data as a job artifact. Add the following bits to the job
templates to make that happen.

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
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.

1 participant