doc(coverage): add instructions for lcov-1.10
[skip-ci]
This commit is contained in:
parent
6a0d211d54
commit
29664ea088
1 changed files with 8 additions and 3 deletions
|
@ -15,9 +15,14 @@ It will build the project, run testcases, and compute code-coverage.
|
|||
In the end, you have ``build/testcov/coverage`` directory containing
|
||||
a code-coverage report in HTML format.
|
||||
|
||||
Note: make sure that the version of ``gcov`` matches with the one of
|
||||
``g++``. Also try to use the latest ``lcov`` if you have a problem
|
||||
with the existing one.
|
||||
Make sure that the version of ``gcov`` matches with the one of
|
||||
``g++``. Also try to use the latest ``lcov`` (currently lcov-1.10)
|
||||
if you have a problem with the existing one:
|
||||
|
||||
wget http://downloads.sourceforge.net/ltp/lcov-1.10.tar.gz;
|
||||
tar xvfz lcov-1.10.tar.gz;
|
||||
cp -v lcov-1.10/bin/{lcov,genpng,gendesc,genhtml,geninfo} /usr/bin/;
|
||||
rm -rf lcov-1.10.tar.gz lcov-1.10;
|
||||
|
||||
[gcov]: http://gcc.gnu.org/onlinedocs/gcc/Gcov.html
|
||||
[lcov]: http://ltp.sourceforge.net/coverage/lcov.php
|
||||
|
|
Loading…
Reference in a new issue