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

Also perform coverage analysis with LCOV on OSX #7

Open
tovrstra opened this issue Apr 9, 2019 · 0 comments
Open

Also perform coverage analysis with LCOV on OSX #7

tovrstra opened this issue Apr 9, 2019 · 0 comments

Comments

@tovrstra
Copy link
Member

tovrstra commented Apr 9, 2019

Currently we only use gcov on Linux, but clang has a similar interface to produce gcov-compatible coverage output.

This is the doc for clang: https://clang.llvm.org/docs/SourceBasedCodeCoverage.html

We should add compiler flags -fprofile-instr-generate -fcoverage-mapping for a DEBUG build with the clang compiler. clang can produce gcov-compatible outputs, which means we have to pass an alternative gcov binary to the gcovr program in Roberto.

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

No branches or pull requests

1 participant