I built bitcoin as:

./configure --without-gui --enable-lcov
make -j4

I see bunch of *.gcno files. How do I generate html?


Okay, I figured that out.

After you run tests, you will see a bunch of *.gcno files. Then, do:

# better to work in a separate dir
mkdir cov && cd cov
lcov -c -d ../src -o cov.info
genhtml cov.info

And open index.html cov dir.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.