lcov for Samba4, relitative names

James Peach jpeach at samba.org
Tue Sep 6 05:00:12 GMT 2005


On Tue, 2005-09-06 at 14:25 +1000, Andrew Bartlett wrote:
> I've been interested in lcov since I saw it come up on the wine lists a
> while back, and a recent move to add gcov support to Samba4 prompted me
> to play with lcov.
> 
> Anyway, the issue I have is that Samba4's 'unique' build system compiles
> the system with a working dir in the root of source/, rather than
> recursing into each subdirectory.  
> 
> The confuses geninfo, which expects the relative source file located in
> the .gcda file to be relative to the object file location, rather than
> relative to the build root.

You might also like to try ggcov, <http://ggcov.sourceforge.net/>. I
don't know whether it also has this problem (I'd be surprised). I'm sure
Greg will be happy to fix ggcov if it doesn't like the Samba build :)

-- 
James Peach | jpeach at samba.org



More information about the samba-technical mailing list