zero9178 / C-Cpp-Coverage-for-CLion

Get coverage data in CLion using gcov or llvm-cov
MIT License
38 stars 2 forks source link

0% files, 0% lines covered. #19

Open zsubas opened 4 years ago

zsubas commented 4 years ago

I have made all the necessary settings but I don't get any statistics. For every file that has test, it just shows as "0% files, 0% lines covered". I'm running clion on Mac Mojave, clion version: 2019.3.6

zero9178 commented 4 years ago

What compiler are you using? Is the editor highlighted in any way (red or green)? If you are using AppleClang (which you might even if the executable is called g++) have you made sure to use a suitable llvm-cov version instead of gcov? If you picked apple's gcov it should have given you an error message after running.