Differences between revisions 3 and 4
Revision 3 as of 2013-10-11 15:15:44
Size: 649
Editor: lu_zero
Revision 4 as of 2013-10-11 15:22:15
Size: 664
Editor: lu_zero
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 {{{#!wiki note  {{{#!wiki alert alert-success

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