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.


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.