[CMake] Coverage

Cedric Pinson mornifle at plopbyte.net
Fri Apr 4 08:20:41 EDT 2008


ok adding ctest make the target available when i do make help but when i 
run i have the following error

Cannot find file: 
/home/mornifle/dev/AnimationMesh/build/test/CTestConfiguration.ini
  Site:
  Build name:
Problem initializing the dashboard.

i dont want any dashboard, i tried to google it but i did not find 
answers for my case.
If we find a solution it could be intersting to put the result on the 
wiki, for other users

Cheers

Bill Hoffman wrote:
> Cedric Pinson wrote:
>> 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
>>
>
> Nope, ctest should find them when it check for coverage results.
>
> -Bill

-- 
+33 (0) 6 63 20 03 56  Cedric Pinson mailto:mornifle at plopbyte.net http://www.plopbyte.net




More information about the CMake mailing list