From: Peter Oberparleiter [mailto:oberparleiter@...]=20
Sent: Dienstag, 19. September 2006 16:42
To: Richter, Michael-J
Subject: Re: [Ltp-coverage] How to reduce evaluated files?
Michael Richter wrote:
> There I have the situation that I want to exclude=20
> some files from being evaluted by lcov/genhtml because they are=20
> generated source files or header files (with inline code).
> Is there a possibility to do that with lcov/genhtml?
I think the --remove option may help you there. Extract from lcov's man
Remove data from tracefile.
Use this switch if you want to remove coverage data for a par-
ticular set of files from a tracefile. Additional command line
parameters will be interpreted as shell wildcard patterns (note
that they may need to be escaped accordingly to prevent the
shell from expanding them first). Every file entry in trace-
file which matches at least one of those patterns will be
Only one of -z, -c, -a, -e, -r, -l and --diff may be specified
at a time.
Get latest updates about Open Source Projects, Conferences and News.