-
Notifications
You must be signed in to change notification settings - Fork 53
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
CI: Enable coverage testing #53
Conversation
Do not merge this yet. There are still some problems with the coverage testing:
|
Is seems this is happening only for the clang build. gcda files from GCC compiled build are processed without an error. There's no point in gathering the coverage information from two different compilers anyway, so I'll make sure that we do it only when building with GCC. |
Ok, looks like it's working. |
Thank you, Daniel, this looks good! |
@spbnick Does the test suite test more things with --enable-debug? |
@dkopecek Well, assertions get executed and so are the validation functions. |
@spbnick I understand that this is good for validation, but does it make sense in the context of coverage testing? |
I'll try to enable it and lets see what happens. |
- Enable coverage testing by installing the lcov utility inside the travis sandbox. - Limit the coverage testing to GCC builds only as lcov doesn't seem to be able to process gcda files from a clang compiled project. - Add a coverage badge to the main README.md file. - Run coverage testing in debug mode.
@dkopecek I'm not sure, but at least we'll get to know which validation functions aren't getting called, and either call them or remove them. Plus it will increase the coverage score, so we don't have to check coverage of files, which have low coverage only because of validation functions. |
Looks good |
Splendid :)! |
travis sandbox.
to be able to process gcda files from a clang compiled project.