-
Notifications
You must be signed in to change notification settings - Fork 34
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
Automatic tests and zerocounter #31
Comments
Well my tentative do not work for parallel build, so I had to create a new custom target in FindLcov.cmake so that I could trigger check target before any capture:
and |
Usually, I just let the individual test runs cumulate to see, if all parts of the code have been tested. I think this is a convenient command to add into this project. However, I would prefer to pack individual extensions as the |
Hi, thanks for you answer.
|
I just try to use CMake-codecov (I'm new to lcov, just learning, so sorry if my question is out of scope)
I want to automatically call check target before calling lcov.
after calling
coverage_evaluate()
at the end of mainCMakeLists.txt
, I addedadd_dependencies(lcov check)
But I have one issue, I want to "zerocounter" lcov data before tests, to have fresh results in case of rebuild.
I have done
But I'm asking myself should this be present directly in CMake-codecov ? or is there a better way to handle lcov data cleanup before capture.
Thanks.
The text was updated successfully, but these errors were encountered: