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

[WIP] cmake gcovr coverage #83

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

[WIP] cmake gcovr coverage #83

wants to merge 1 commit into from

Conversation

zeratax
Copy link
Owner

@zeratax zeratax commented Dec 14, 2019

creates a new target to create c++ coverage with gcovr (pip install --user gcovr)

this would be executed with

$ make -C build yacx_coverage

@zeratax
Copy link
Owner Author

zeratax commented Dec 14, 2019

The issue here is that this requires the tests to be executable with cmake, e.g.:

$ make -C build test

Instead of:

$ pushd build/test/bin
$ tests
$ popd

but this is stuck behind #72

Furthermore CodeCoverage.cmake requires cmake v3.12 (for the find_package(python), but the Uni-Server hasn't been updated in a while and so it's stuck on 3.09. Either we get it updated or use a locally compiled version.

@zeratax zeratax added this to In progress in v1.0.0 via automation Dec 14, 2019
@zeratax zeratax added documentation Improvements or additions to documentation enhancement New feature or request tests anything related to testing and removed documentation Improvements or additions to documentation labels Dec 14, 2019
@zeratax zeratax self-assigned this Dec 14, 2019
@zeratax zeratax marked this pull request as draft May 3, 2020 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tests anything related to testing
Projects
v1.0.0
  
In progress
Development

Successfully merging this pull request may close these issues.

None yet

1 participant