Article 5GGMX Gcov not creating .gcda files for few classes

Gcov not creating .gcda files for few classes

by
himanshukhunteta
from LinuxQuestions.org on (#5GGMX)
Hi,

I am using gcov to find code coverage of my application while running functional test cases.

Issue: .gcda files are not getting created for few classes though those classes are being executed

Steps:
1. Compile Application code with gcov and verify .gcno files are generated for all classes
2. Create binary image of compiled code and deploy server using that binary
3. Run Functional Test Cases to hit application code
4. .gcda files gets created for few classes only. It is not getting created for all classes which are being executed.latest?d=yIl2AUoC8zA latest?i=zj77AsUIzHY:C2bGIguhHp0:F7zBnMy latest?i=zj77AsUIzHY:C2bGIguhHp0:V_sGLiP latest?d=qj6IDK7rITs latest?i=zj77AsUIzHY:C2bGIguhHp0:gIN9vFwzj77AsUIzHY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments