[Ltp-coverage] lcov for Samba4, relitative names

Andrew Bartlett abartlet at samba.org
Wed Mar 7 20:54:10 GMT 2007


On Wed, 2007-03-07 at 16:17 +0100, Peter Oberparleiter wrote:
> Andrew Bartlett wrote:
> 
> > On Wed, 2005-09-07 at 18:43 +0200, Peter Oberparleiter wrote:
> >> It works up to the point where generated source code files are 
> >> referenced (lexx.yy.c, etc.). You may need to adjust the build process 
> >> not to change those files or not to use the GCOV flags on them.
> > 
> > Yeah, these are causing us fun still.  Is there any chance of having a
> > '--ignore-missing-source' option?
> 
> As this request has surfaced more than once so far, I just implemented an option "--ignore-errors". Use it with parameter "gcov" to ignore non-zero gcov-tool return codes and "source" to ignore missing source files. This is an experimental feature, i.e. currently restricted to the cvs version of lcov.
> 
> > Also, for another project (heimdal), it uses libtool (boo, hiss), which
> > means that the .o file ends up in .libs, but with no relative path
> > included.  Could you look in ../ for the source in that case?
> 
> Have a look at the --compat-libtool option of lcov (again, cvs version only).

I'll take a look (I hadn't noticed this option), but why does this need
to be an option?  libtool behaviour is fairly easy to detect (nobody
else likes .libs like libtool does!), and in our build farm environment,
the more generic the better.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070308/d4402695/attachment.bin


More information about the samba-technical mailing list