You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Had previously been using lcov successfully and gotten my PlayRho project to 99% unit test coverage. The coveralls.io site appears to now be recommending using this project instead however so I'd like to switch to it. I'm having trouble getting it to work though.
Hoping someone can give me a hand with this and spot what I'm doing wrong in my latest pull request attempt. Presumably I'm not using all the correct command line arguments to get the coverage report to recognize coverage. You can see what I've tried in my latest pull request at the end of the .travis.yml file.
My project uses CMake so I presume I need the --build-root $BUILD_ROOT option with $BUILD_ROOT set to the directory in which cmake is being run in. That alone at least didn't seem to make things work however. Output from coveralls can be found beginning at line 5011 of my travis-ci.org job report.
Thanks a bunch for any help!!
The text was updated successfully, but these errors were encountered:
louis-langholtz
changed the title
0 of 0 relevant lines covered: presumably I'm not using correct arguments
0 of 0 relevant lines covered: am I not using correct arguments?
Feb 25, 2019
The cpp-coveralls script creates .gcov files with some lines executed in some files but then seems to try and do a git command that results in the message: fatal: Not a git repository (or any of the parent directories): .git. That makes sense given that I'd set the --root argument to be where CMake builds. If I change the --root however to the git source root however, then the script seems unable to notice any coverage at all; though it doesn't issue a fatal error message.
Another problem seems to be that the --exclude-pattern "/usr/.*" doesn't seem to exclude /usr/include files.
Thanks for this project. I'd love to use it!
Had previously been using lcov successfully and gotten my PlayRho project to 99% unit test coverage. The coveralls.io site appears to now be recommending using this project instead however so I'd like to switch to it. I'm having trouble getting it to work though.
Hoping someone can give me a hand with this and spot what I'm doing wrong in my latest pull request attempt. Presumably I'm not using all the correct command line arguments to get the coverage report to recognize coverage. You can see what I've tried in my latest pull request at the end of the
.travis.yml
file.My project uses CMake so I presume I need the
--build-root $BUILD_ROOT
option with$BUILD_ROOT
set to the directory in which cmake is being run in. That alone at least didn't seem to make things work however. Output from coveralls can be found beginning at line 5011 of my travis-ci.org job report.Thanks a bunch for any help!!
The text was updated successfully, but these errors were encountered: