List:Internals« Previous MessageNext Message »
From:Sergei Golubchik Date:March 3 2010 1:46pm
Subject:updated dgcov
View as plain text  
Hi,

if you're using dgcov tool, you may be interested to try an updated
version. I've recently changed it, adding support for any revisionspec
formats, e.g.

  dgcov.pl -- -10..-5
  dgcov.pl before:date:2010-01-02

and so on, all this is supposed to work.

And switched to a completely different approach to matching .gcov files
with source files. Now it correctly handles symlinked files, paths in
the Makefiles (when a Makefile rule specifies a source file with a
path, as in file.o: ../foobar/file.c), object files in the .libs/,
.yy, .l, and header files (that may have executable lines too, e.g.
inline functions). All that works, and data are accumulated, for
example, gcov data from

  libmysql/client.c.gcov
  libmysql_r/client.c.gcov
  libmysqld/client.c.gcov
  sql/client.c.gcov

will be added up and put into sql-common/client.c.dgcov 

You can download it from launchpad (the old version was a code snipped
on forge.mysql.com, which is difficult to version :), here:
http://bazaar.launchpad.net/~maria-captains/mariadb-tools/trunk/annotate/head%3A/dgcov.pl

Regards,
Sergei
Thread
updated dgcovSergei Golubchik3 Mar
  • Re: updated dgcovIngo Strüwing3 Mar