Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Mon, Nov 5, 2012 at 6:36 AM, Miklos Vajna <vmiklos@suse.cz> wrote:
I know this is a clang report and not the lcov one, but -- can you
please put up the commands you use to generate these reports to the
wiki, or (maybe even better) add two scripts like
bin/generate-lcov-report and bin/generate-clang-report, so that
developers can easily create them, too?

I've been playing with gcov/lcov

to get the coverage for a given module:

1/ build the product
2/ make module.clean
3/ gb_GCOV=YES make module
4/ run lcov on workdir/
5/ run genhtml
6/ enjoy :-)

7/ do not forget the make module.clean again after... otherwise the
link will fail later if you have gcov-enable object in a
non-gcov-enabled link (which also means that for static library it is
a bit more complicated)

Norbert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.