Attached them with some modifications.<div><br></div><div>I have one ctest_&lt;platform&gt;.cmake for each platform, that all include ctest_base.cmake that contains a macro that allow me to run all different configurations of my builds.</div>
<div><br></div><div>While I have your attention, would it somehow be possible to re-use a single sourcetree for several builds and still get the (same) update logs for all builds?</div><div><br></div><div>/Johan</div><div>
<br></div><div><br><br><div class="gmail_quote">On Thu, Jan 13, 2011 at 3:53 PM, David Cole <span dir="ltr">&lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Can you pass along your whole script, and describe how the looping<br>
works rather than just the snippet you sent...? (Or is that not<br>
possible for some reason?)<br>
<br>
We don&#39;t typically run more than one dashboard per script, so you may<br>
discovered a real problem with trying to run more than one dashboard<br>
from a single script...<br>
<br>
Does this happen only on 2nd and later dashboards in your loop, or<br>
does even the very 1st one demonstrate this problem?<br>
<div><div></div><div class="h5"><br>
<br>
On Thu, Jan 13, 2011 at 9:47 AM, Johan Björk &lt;<a href="mailto:phb@spotify.com">phb@spotify.com</a>&gt; wrote:<br>
&gt; Hi David,<br>
&gt; Not using subprojects.<br>
&gt; CMake/CTest version 2.8.3 and CDash 1.8.2 (upgraded from the previous<br>
&gt; release however)<br>
&gt; /Johan<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jan 13, 2011 at 3:27 PM, David Cole &lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Are subprojects involved? (i.e. -- do you use them and do you have<br>
&gt;&gt; them set up for this dashboard)<br>
&gt;&gt;<br>
&gt;&gt; What versions of CDash and CMake/CTest are you using?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Jan 13, 2011 at 4:07 AM, Johan Björk &lt;<a href="mailto:phb@spotify.com">phb@spotify.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi everyone,<br>
&gt;&gt; &gt; I&#39;m having a strange problem with my CDash submissions, and I&#39;m not sure<br>
&gt;&gt; &gt; what is going on. For every submission I do, I get two builds, one that<br>
&gt;&gt; &gt; only<br>
&gt;&gt; &gt; has a UPDATE stage, and one line that has the rest of the steps.<br>
&gt;&gt; &gt; The row with UPDATE has a higher buildID versus the row with<br>
&gt;&gt; &gt; configure/build/test.<br>
&gt;&gt; &gt; In my CTest script, I run several builds in a loop. For every build I do<br>
&gt;&gt; &gt; //Setup CTEST_SOURCE_DIRECTORY and CTEST_BINARY_DIRECTORY<br>
&gt;&gt; &gt;   ctest_start(${CTEST_MODEL})<br>
&gt;&gt; &gt;   ctest_update()<br>
&gt;&gt; &gt;   ctest_configure()<br>
&gt;&gt; &gt;   ctest_build()<br>
&gt;&gt; &gt;   ctest_test()<br>
&gt;&gt; &gt;   if (WITH_COVERAGE AND CTEST_COVERAGE_COMMAND)<br>
&gt;&gt; &gt;     ctest_coverage()<br>
&gt;&gt; &gt;   endif (WITH_COVERAGE AND CTEST_COVERAGE_COMMAND)<br>
&gt;&gt; &gt;   if (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)<br>
&gt;&gt; &gt;     ctest_memcheck()<br>
&gt;&gt; &gt;   endif (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)<br>
&gt;&gt; &gt;   ctest_submit()<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I also tried adding the APPEND keyword to the ctest_* commands, but no<br>
&gt;&gt; &gt; luck.<br>
&gt;&gt; &gt; Has anyone seen this before? Does anyone have any suggestions how to<br>
&gt;&gt; &gt; debug<br>
&gt;&gt; &gt; this?<br>
&gt;&gt; &gt; Thanks<br>
&gt;&gt; &gt; /Johan<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>