[CMake] code coverage & cmake

David Cole david.cole at kitware.com
Tue Jan 10 15:47:00 EST 2006


Whatever tests run during your dashboard execution should get tracked 
for coverage. If there are no coverage files, then no tests ran with 
coverage enabled.

xavier delannoy wrote:

>Hi all,
>
>how to enable code coverage with cmake, ctest, dart ?
>I add "-fprofile-arcs -ftest-coverage" to my CFLAGS.
>How does I specify the list of coverage files ?
>
>here is the output of cmake :
>make ExperimentalCoverage
>   Site: Tilanne.local
>   Build name: Darwin-
>Performing coverage
> Cannot find any coverage files.
>
>thanks
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake
>
>  
>


More information about the CMake mailing list