<HTML>
<HEAD>
<TITLE>Re: [CMake] Nightly only tests</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>David,<BR>
<BR>
&nbsp;&nbsp;Ok, I&#8217;ll do the CMake option, in the end this might be the best way to go.<BR>
<BR>
Thanks for the help/suggestions,<BR>
-dan<BR>
<BR>
<BR>
On 4/17/09 3:33 PM, &quot;David Cole&quot; &lt;<a href="david.cole@kitware.com">david.cole@kitware.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I think you're thinking of &quot;LABELS&quot;...<BR>
 <BR>
See CVS CMake documentation for the LABELS property:<BR>
cmake --help-property LABELS<BR>
It would basically be like -E though. The default is to run everything. Label based running or name based running with -E or -R must be specified explicitly.<BR>
 <BR>
Dan, it's probably best to implement in terms of a CMake option. That way, you could have it OFF by default and exclude the commonly excluded tests. People who want the complete test suite would then have to turn ON the options explicitly.<BR>
 <BR>
 <BR>
HTH,<BR>
David<BR>
<BR>
 <BR>
On Fri, Apr 17, 2009 at 1:18 PM, Alexander Neundorf &lt;<a href="a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>On Friday 17 April 2009, Daniel Blezek wrote:<BR>
&gt; Alex,<BR>
&gt;<BR>
&gt;   Sure, that will do the trick, but that requires developers to remember<BR>
&gt; the -E. ;-&gt;<BR>
&gt;<BR>
&gt; I suppose an example would help...<BR>
&gt;<BR>
&gt; add_test ( ForNightly BUILDTYPES &quot;Nightly&quot;<BR>
&gt; ${CMAKE_BINARY_DIR}/bin/LongRunning --iterations 10000000 )<BR>
&gt;<BR>
&gt; add_test ( ForExperimental BUILDTYPES &quot;Experimental Continuous&quot;<BR>
&gt; ${CMAKE_BINARY_DIR}/bin/ShortRunning --iterations 10 )<BR>
&gt;<BR>
&gt; add_test ( ForContinuous BUILDTYPES &quot;Continuous&quot;<BR>
&gt; ${CMAKE_BINARY_DIR}/bin/MediumRunning --iterations 1000 )<BR>
&gt;<BR>
&gt; A naked &quot;ctest&quot; would run only Experimental tests.  This could potentially<BR>
&gt; be made more flexible by adding &quot;tags&quot; to tests.<BR>
<BR>
Maybe something like this was added lately to cmake cvs and tests, there were<BR>
some commits which dealt with tests and something like tags or flags or<BR>
something...<BR>
<BR>
Alex<BR>
_______________________________________________<BR>
Powered by www.kitware.com &lt;<a href="http://www.kitware.com/">http://www.kitware.com/</a>&gt; <BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">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">http://www.cmake.org/mailman/listinfo/cmake</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
-- <BR>
<B>Daniel Blezek, PhD<BR>
</B>Medical Imaging Informatics Innovation Center<BR>
<BR>
P 127 or (77) 8 8886<BR>
T 507 538 8886<BR>
E <a href="blezek.daniel@mayo.edu">blezek.daniel@mayo.edu</a><BR>
<BR>
Mayo Clinic<BR>
200 First St. S.W.<BR>
Harwick SL-44<BR>
Rochester, MN 55905<BR>
mayoclinic.org<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>