Size: 664
Comment:
|
Size: 664
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