Background
I am using the python tool gcovr
to produce coverage data for some of my c projects. I am able to get the coverage data with no problems, but I'm not able to see which lines of code are covered due to a problem with the tool finding my source files.
After inspecting the XML data generated by gcovr
I realized that the tool was looking at the wrong directory for coverage information. That being the case I specified the root for source files as specified by the documentation for gcovr
.
# gcovr ... --object-directory=/some/path -r /some/path
However, when I specify the directory for my source files, gcovr
goes into an infinite loop.
Question
What is causing this infinite loop and what do I need to do to specify what directory my source files reside in?
If any extra information is needed to solve this problem, I am willing to provide what I can.
This issue is resolved in gcovr 3.2