How are you running ctest to try to get the coverage reported?<div><br></div><div>With -D NightlyCoverage?</div><div>With a -S script?<br><br></div><div>What version of ctest?</div><div><br></div><div><br><div class="gmail_quote">
On Wed, Aug 25, 2010 at 3:31 AM, emeplease <span dir="ltr">&lt;<a href="mailto:emeplease@gmail.com">emeplease@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
Hi,  I am going to enable coverage test in my project,<br>
<br>
I have enabled the following compile options:<br>
-----------------------------------------------------------------------------------------------<br>
CXXFLAGS=&quot;-g -O0 -Wall -Wshadow \<br>
 -Wunused-function -Wunused -Wno-system-headers \<br>
 -Wno-deprecated -Woverloaded-virtual -Wwrite-strings -fprofile-arcs \<br>
 -ftest-coverage&quot; \<br>
CFLAGS=&quot;-g -O0 -Wall -W -fprofile-arcs -ftest-coverage&quot; \<br>
LDFLAGS=&quot;-fprofile-arcs -ftest-coverage&quot; \<br>
-----------------------------------------------------------------------------------------------<br>
<br>
Inside DartConfiguration.tcl :<br>
CoverageCommand: /usr/bin/gcov<br>
<br>
-----------------------------------------------------------------------------------------------<br>
Inside CMakeCache.txt :<br>
COVERAGE_COMMAND:FILEPATH=/usr/bin/gcov<br>
<br>
-----------------------------------------------------------------------------------------------<br>
<br>
<br>
<br>
However, I am not able to use coverage test:<br>
<br>
Performing coverage<br>
 Cannot find any coverage files. Ignoring Coverage request.<br>
<br>
<br>
<br>
Thank you very much.<br>
<br>
<br>
Regards,<br>
Joseph<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>