Kelly,<br><br>Thanks, since ITK uses labels, I'll try the exclude_label.<br><br>Bill<br><br><div class="gmail_quote">On Tue, May 10, 2011 at 12:09 PM, Kelly Thompson <span dir="ltr"><<a href="mailto:kgt@lanl.gov">kgt@lanl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">Bill,</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">I use the EXCLUDE_LABEL option for the ctest_memcheck() command to prevent certain LABELed tests from running under valgrind. See <a href="http://www.cmake.org/cmake/help/ctest-2-8-docs.html#command:ctest_memcheck" target="_blank">http://www.cmake.org/cmake/help/ctest-2-8-docs.html#command:ctest_memcheck</a> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">While I don’t make use of the CTestCustom.cmake file, the wiki claims you can use this to suppress dynamic analysis for specified tests. <a href="http://www.cmake.org/Wiki/CMake_Testing_With_CTest" target="_blank">http://www.cmake.org/Wiki/CMake_Testing_With_CTest</a></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);">-kt</span></p><p class="MsoNormal"><span style="font-size: 10pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0in 0in 0in 4pt;"><div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:cmake-bounces@cmake.org" target="_blank">cmake-bounces@cmake.org</a> [mailto:<a href="mailto:cmake-bounces@cmake.org" target="_blank">cmake-bounces@cmake.org</a>] <b>On Behalf Of </b>Bill Lorensen<br>
<b>Sent:</b> Tuesday, May 10, 2011 6:07 AM<br><b>To:</b> CMake mailing list<br><b>Subject:</b> [CMake] Suppress dynamic analysis for a given test</span></p></div></div><div class="im"><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom: 12pt;">
Is there a cmake/ctest mechanism to suppress dynamic analysis for a given test?<br><br>Bill</p></div></div></div></div></blockquote></div><br>