Gcov giving wrong output for SDK 2.3

Gcov giving wrong output for SDK 2.3

BY 12 Nov 2014 SDK & IDE

Hi

 

I have been trying to run unit-test-suite on SDK 2.3 emulator and find the code coverage using gcov.

But there seems to be inconsistency in the outputs.

The test report of the utc shows that the test cases (e.g ‘utc_A’) were executed successfully, but the .gcov file marks the ‘utc_A’ with ‘#####’ as not executed.

Why does gcov shows ‘utc_A’ not executed but the test report shows passed?

Written by