On Mon, Nov 3, 2014 at 10:07 AM, Tor Lillqvist <tml@iki.fi> wrote:
I was just trying to follow this LCOV Code Coverage guide:
https://wiki.documentfoundation.org/Development/Lcov
which recommends to run configure '--with-system-libs'
The wiki might be a bit optimistic. It's a wiki. Edit it.
I have no problem with editing the wiki. But before one can edit, one must
determine what to change it into: I havent determined yet what would be a
better way to filter out the unwanted non-libreoffice code from the report,
other than running run configure '--with-system-libs'. Adding all unwanted
code to the removal line:
lcov --remove '/usr/local/src/libreoffice/*/UnpackedTarball/*'
'/foo/bar/dependency1' '/foo/bar/dependency2' '/foo/bar/dependencyx'
seems like a way to do it, but will require manually adding a new
'unwanted' directory to that line whenever new code gets added. I havent
figured out a better way yet, though.
- Maarten
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.