Skip to content
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

Add the ability to generate test coverage reports #318

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

bcaddy
Copy link
Collaborator

@bcaddy bcaddy commented Aug 14, 2023

The run_tests.sh script now has the ability to generate a coverage report for the CPU code. It can be generated by passing the -l flag to the buildAndRunTests function then the coverage report will be available in the generated HTML website in
bin/html_coverage_report_${CHOLLA_MAKE_TYPE}

The reason that this isn't being added to the CI pipeline is that there's no way to generate a coverage report of GPU code and that substantially limits the usefulness of a coverage report for us. If that changes in the future then having coverage information could be useful.

The run_tests.sh script now has the ability to generate a coverage
report for the CPU code. It can be generated by passing the -l flag
to the buildAndRunTests function then the coverage report will be
available in the generated HTML website in
bin/html_coverage_report_${CHOLLA_MAKE_TYPE}
@evaneschneider evaneschneider merged commit 61ea81d into cholla-hydro:dev Aug 14, 2023
8 checks passed
@bcaddy bcaddy deleted the dev-coverage branch August 22, 2023 19:39
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.

2 participants