Differences between revisions 2 and 3
Revision 2 as of 2013-10-11 15:15:18
Size: 610
Editor: lu_zero
Comment:
Revision 3 as of 2013-10-11 15:15:44
Size: 649
Editor: lu_zero
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from GcovCoverage

Coverage Analisys with lcov and FATE

  • Build with coverage annotation (using gcov) Libav has a builtin support for gcov
     ./configure --toolchain=gcov
    • gcov is supported by gcc and clang currently
  • reset the lcov coverage data
     lcov --directory . --zerocounters
  • run fate
     make fate
  • collect the coverage information
     lcov --directory . --capture --output-file coverage.info
  • generate an human readable report
     mkdir lcov-output
     genhtml -o lcov-output coverage.info


CategoryHowTo