I already use the flag and i have the file generated .gcno .gcda but here the location
./CMakeFiles/TestAnimationMesh.dir/__/__/src/AnimationMesh.gcno
./CMakeFiles/TestAnimationMesh.dir/__/__/src/AnimationMesh.gcda
./CMakeFiles/TestAnimationMesh.dir/test_read.gcda
./CMakeFiles/TestAnimationMesh.dir/test_read.gcno

so i would like know if there is helper to manage that or if i need to add a script that find *.gcno and do a gcov ... on the result

Cheers

Andreas Schneider wrote:
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


--
+33 (0) 6 63 20 03 56  Cedric Pinson mailto:[EMAIL PROTECTED] 
http://www.plopbyte.net


_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to