Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Consider normalizing paths for --sources (and --modules) #17
OpenCppCoverage is currently sensitive to differences between '' and '/' in
This means that called like this
I ran into this when I was integrating OpenCppCoverage with our project's CI on AppVeyor. Since we use CMake and CTest I had to redirect CTest and it provides the target path using forward slashes... this meant that I ended up with the tests providing proper output, but empty files, which took awhile to diagnose.
This probably also applies to
Tested with v 0.9.6.1 release.
Unfortunately, this is a very common pitfall.
I will make the documentation more explicit about it.
I hope it will help,