[CMake] Coverage

Andreas Schneider mail at cynapses.org
Fri Apr 4 03:48:57 EDT 2008


Cedric Pinson wrote:
> Hi,
> I would like to add coverage on my project with a valgrind pass i saw 
> that there is something with dashboard. But when i run ctest it says 
> CTestConfiguration.ini
> I dont need to submit result or anything like that i would like to 
> dispay the coverage and the result of valgrind, like i did with 'make 
> check' (autotools) with two script.
> If anyone has some answer for this usage i am really interested.

You have to compile your project with special options to get the coverage, see

https://dev.csync.org/browser/cmake/Modules/MacroCheckTest.cmake

Then you can run the Experimental test.

make Experimental

> 
> Cheers
> 

Regards,

	-- andreas

-- 
http://www.cynapses.org/ - cybernetic synapses


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080404/247ae4a8/attachment.pgp>


More information about the CMake mailing list