Differences between revisions 4 and 5
Revision 4 as of 2013-10-11 15:22:15
Size: 664
Editor: lu_zero
Comment:
Revision 5 as of 2013-10-24 23:32:59
Size: 664
Editor: lu_zero
Comment: Minor edit
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * Build with coverage annotation (using gcov)
Libav has a builtin support for gcov
 * Build with coverage annotation (using gcov). Libav has a builtin support for gcov

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