Skip to content

base-builder: add script for collecting coverage from run_test.sh #13686

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

Closed
wants to merge 1 commit into from

Conversation

DavidKorczynski
Copy link
Collaborator

Coverage collection based on coverage reports generated from running run_tests.sh can be useful for various things.

To run:

$ python3 infra/helper.py shell zlib --sanitizer=coverage

# Inside the shell
compile && chmod +x /src/run_tests.sh && /src/run_tests.sh && python3 /usr/local/bin/coverage_test_collection.py

The above command will put a HTML report in /out/test-html-generation which can be viewed outside the container environment (ensure permissions are correct on the files).

Sample from zlib:

Screenshot from 2025-07-20 18-49-18

Signed-off-by: David Korczynski <david@adalogics.com>
@DavidKorczynski
Copy link
Collaborator Author

closing in favour of #13740

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