<html><head></head><body bgcolor="#FFFFFF"><div>To actually run the coverage testing, you need to have tests added with add_test in your CMakeLists file, then you need to run a ctest -S script that calls ctest_coverage, or use one of the predefined coverage dashboard targets. (Use 'make help | grep Coverage' to see those.)</div><div><br><br>On Jan 2, 2012, at 9:21 PM, David Doria <<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>I found this wiki page:<div><br></div><div><a href="http://www.vtk.org/Wiki/CTest/Coverage#Coverage_With_C.2B.2B">http://www.vtk.org/Wiki/CTest/Coverage#Coverage_With_C.2B.2B</a></div><div><br></div><div>that explains the flags that are necessary. I set up a demo project here and it compiles:</div>
<div><br></div><div><a href="http://www.vtk.org/Wiki/CTest/Coverage/Example">http://www.vtk.org/Wiki/CTest/Coverage/Example</a></div><div><br></div><div>However, how do you actually run the coverage analysis? I ran 'ctest' but there are no magic tests that were setup. Are there more instructions somewhereon performing and viewing the coverage?</div>
<div><br clear="all">Thanks,<br><br>David<br>
</div>
</div></blockquote><blockquote type="cite"><div><span>--</span><br><span></span><br><span>Powered by <a href="http://www.kitware.com">www.kitware.com</a></span><br><span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br><span></span><br><span>Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></span></div></blockquote></body></html>