Attached them with some modifications.<div><br></div><div>I have one ctest_<platform>.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"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></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'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 <<a href="mailto:phb@spotify.com">phb@spotify.com</a>> wrote:<br>
> Hi David,<br>
> Not using subprojects.<br>
> CMake/CTest version 2.8.3 and CDash 1.8.2 (upgraded from the previous<br>
> release however)<br>
> /Johan<br>
><br>
><br>
> On Thu, Jan 13, 2011 at 3:27 PM, David Cole <<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>> wrote:<br>
>><br>
>> Are subprojects involved? (i.e. -- do you use them and do you have<br>
>> them set up for this dashboard)<br>
>><br>
>> What versions of CDash and CMake/CTest are you using?<br>
>><br>
>><br>
>> On Thu, Jan 13, 2011 at 4:07 AM, Johan Björk <<a href="mailto:phb@spotify.com">phb@spotify.com</a>> wrote:<br>
>> > Hi everyone,<br>
>> > I'm having a strange problem with my CDash submissions, and I'm not sure<br>
>> > what is going on. For every submission I do, I get two builds, one that<br>
>> > only<br>
>> > has a UPDATE stage, and one line that has the rest of the steps.<br>
>> > The row with UPDATE has a higher buildID versus the row with<br>
>> > configure/build/test.<br>
>> > In my CTest script, I run several builds in a loop. For every build I do<br>
>> > //Setup CTEST_SOURCE_DIRECTORY and CTEST_BINARY_DIRECTORY<br>
>> > ctest_start(${CTEST_MODEL})<br>
>> > ctest_update()<br>
>> > ctest_configure()<br>
>> > ctest_build()<br>
>> > ctest_test()<br>
>> > if (WITH_COVERAGE AND CTEST_COVERAGE_COMMAND)<br>
>> > ctest_coverage()<br>
>> > endif (WITH_COVERAGE AND CTEST_COVERAGE_COMMAND)<br>
>> > if (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)<br>
>> > ctest_memcheck()<br>
>> > endif (WITH_MEMCHECK AND CTEST_MEMORYCHECK_COMMAND)<br>
>> > ctest_submit()<br>
>> ><br>
>> > I also tried adding the APPEND keyword to the ctest_* commands, but no<br>
>> > luck.<br>
>> > Has anyone seen this before? Does anyone have any suggestions how to<br>
>> > debug<br>
>> > this?<br>
>> > Thanks<br>
>> > /Johan<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<br>
>> > <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:<br>
>> > <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>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>