[CMake] Extending list of files subject to coverage with CTest

Wojciech Migda wojtek.golf at interia.pl
Tue Sep 22 15:31:41 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I am considering adding code coverage metrics to the executed unit
tests. I get it work - I mean gcov i run and data is collected.
However, from what I observed files subjected to coverage analysis is
limited to those explicitly listed in the command used to create the
executable. The code I'm most interested in obtaining coverage results
is linked from a static library, which is missed out. I know that
there is a variable which allows to limit coverage to specific files,
but what if I want to extend it to files compiled into static library
objects ?

Thanks for help,

- -Wojciech

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKuSYa0iFl+nAyImcRAly3AJ9u9W/DxaOId78f0cgBBvicTfxGGwCfbtAI
s+ZpWbO0DioOyuowXTMrAww=
=IMwP
-----END PGP SIGNATURE-----



----------------------------------------------------------------------
Zobacz nowego Lambo reventon roadster 
Klikinij >>>http://link.interia.pl/f2363



More information about the CMake mailing list