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

enable gcovr for C code, and disable gcovr for test codes #249

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

jbathegit
Copy link
Collaborator

Part of #80

@jbathegit
Copy link
Collaborator Author

So, based on a hunch from looking at the gfortran flags for CMake, I verified that the same options are valid for gcc and tried passing those in as gcc flags for CMake. And bingo, we now have gcovr coverage for all of the C code in the library as well!

I also included the fix I made earlier on the r8wraps branch to exclude the test codes from gcovr, in order to get gcovr working again on that branch.

@jbathegit jbathegit merged commit b830777 into develop Dec 9, 2022
@jbathegit jbathegit deleted the jba_gcovrC branch December 9, 2022 23:11
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