[gcov] No data gathered for child processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello list,

I'm using lcov to analyze the coverage of libgee's test suite. Libgee is
based on GLib and as thus I use GTest framework of GLib.

GTest forks the test process in order to test for asserting tests.
Looking at the reports of lcov, it looks like there is absolutely no
information gathered about the child processes.

Indeed my tests pass so I'm sure I do branch by those code parts
reported as never branched by lcov.

I already have seen this question asked two times on gcc-help but none
got a real answer:

http://gcc.gnu.org/ml/gcc-help/2009-07/msg00334.html

and

http://gcc.gnu.org/ml/gcc/2008-09/msg00490.html

For information, I'm running Gentoo Linux with 2.6.28 kernel in a
virtual machine (Parallels/MacOS X 10.5). My hardware is Core 2 Duo 2.6GHz.

Thanks a lot for your help.
Didier.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux