[CMake] Coverage Woes

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Dec 22 10:56:05 EST 2008


On Mon, Dec 22, 2008 at 4:51 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> Mathieu Malaterre wrote:
>
>>
>> /home/mmalaterre/Dashboards/MyTests/gdcm-2-0-nightly-cov/Utilities/gdcmuuid/CMakeFiles/gdcmuuid.dir/uuid_time.gcda
>> Command produced error: No such file or directory
>> .No such file or directory
>> Problem running coverage on file:
>>
>> /home/mmalaterre/Dashboards/MyTests/gdcm-2-0-nightly-cov/Utilities/gdcmuuid/CMakeFiles/gdcmuuid.dir/pack.gcda
>> Command produced error: No such file or directory
>> .No such file or directory
>> Problem running coverage on file:
>>
>> /home/mmalaterre/Dashboards/MyTests/gdcm-2-0-nightly-cov/Utilities/gdcmuuid/CMakeFiles/gdcmuuid.dir/unparse.gcda
>> Command produced error: No such file or directory
>> .No such file or directory
>> ...
>>
>> Let me know if you want the complete file.
>>
>> -M
>>
> Do these files exist:
>
> /home/mmalaterre/Dashboards/MyTests/gdcm-2-0-nightly-cov/Utilities/gdcmuuid/CMakeFiles/gdcmuuid.dir/uuid_time.gcda
> /home/mmalaterre/Dashboards/MyTests/gdcm-2-0-nightly-cov/Utilities/gdcmuuid/CMakeFiles/gdcmuuid.dir/pack.gcda

$ ls -al /home/mmalaterre/Dashboards/MyTests/gdcm-2-0-nightly-cov/Utilities/gdcmuuid/CMakeFiles/gdcmuuid.dir/uuid_time.gcda
/home/mmalaterre/Dashboards/MyTests/gdcm-2-0-nightly-cov/Utilities/gdcmuuid/CMakeFiles/gdcmuuid.dir/pack.gcda
-rw-r--r-- 1 mmalaterre mmalaterre 144 2008-12-22 14:50
/home/mmalaterre/Dashboards/MyTests/gdcm-2-0-nightly-cov/Utilities/gdcmuuid/CMakeFiles/gdcmuuid.dir/pack.gcda
-rw-r--r-- 1 mmalaterre mmalaterre 256 2008-12-22 14:50
/home/mmalaterre/Dashboards/MyTests/gdcm-2-0-nightly-cov/Utilities/gdcmuuid/CMakeFiles/gdcmuuid.dir/uuid_time.gcda


> Also, a -VV --debug on the ctest might shed some light on the issue. (it
> will produce lots of output, but you should be able to look for stuff
> referencing pack.gcda for example...)

Ok. If David's suggestion does not work, I'll try the --debug output.

thx
-- 
Mathieu


More information about the CMake mailing list