0

I built bitcoin as:

./autogen.sh
./configure --without-gui --enable-lcov
make -j4
./src/test/test_bitcoin

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

0

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.