<div dir="ltr"><div>I got it working. You have to submit everything with ctest_submit(PARTS ...). I think my problem was that, even though I was submitting with ctest_submit(PARTS ...), I had one extra ctest_submit() at the end, which re-submitted the last Test.xml.<br>
<br>So this works:<br><br>ctest_start()<br>
ctest_build()<br></div>ctest_submit(PARTS Build)<br><br><div><div>ctest_test(BUILD top/subdir1 APPEND)<br>ctest_submit(PARTS Test)<br><br>ctest_test(BUILD top/subdir2 APPEND)<br></div><div>ctest_submit(PARTS Test)<br><br>
</div><div># dont call ctest_submit without PARTS!<br></div># ctest_submit()<br><br><br></div><div class="gmail_extra">Pat<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 2:02 PM, Jean-Christophe Fillion-Robin <span dir="ltr"><<a href="mailto:jchris.fillionr@kitware.com" target="_blank">jchris.fillionr@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Worth trying. Keep us posted :)<span class="HOEnZb"><font color="#888888"><div>Jc</div></font></span></div>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 2:00 PM, Pat Marion <span dir="ltr"><<a href="mailto:james.patrick.marion@gmail.com" target="_blank">james.patrick.marion@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ah, so maybe I just need the ctest_test(... APPEND) and then only one ctest_submit() at the end. I think I tried that combination, but I'll try it again. Thanks!<span><font color="#888888"><br>
<br>Pat<br></font></span></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 1:58 PM, Jean-Christophe Fillion-Robin <span dir="ltr"><<a href="mailto:jchris.fillionr@kitware.com" target="_blank">jchris.fillionr@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Pat, <div><br></div><div>While it is possible the different part (configure, build, test, ..) independently, I wonder if submitting the same "part" multiple time is supported. That could explain what you observed. </div>
<div><br></div><div>Jc</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Thu, Sep 12, 2013 at 1:23 PM, Pat Marion <span dir="ltr"><<a href="mailto:james.patrick.marion@gmail.com" target="_blank">james.patrick.marion@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi Zack,<br><br></div> I've tried with APPEND, and I tried doing ctest_submit(PARTS
Test) after each call to ctest_test, but no luck. I think I will create a simple project to demonstrate the issue (and maybe I'll discover my mistake while doing that...)<span><font color="#888888"><br>
<br>Pat<br>
</font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 1:21 PM, Zack Galbreath <span dir="ltr"><<a href="mailto:zack.galbreath@kitware.com" target="_blank">zack.galbreath@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu9/1213 Thu Sep 12 12:15 PM, Pat Marion wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
ctest_build()<br>
<br>
</blockquote>
<br>
This is the line that is deleting your prior results. use this instead:<br>
ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}" APPEND)<br>
<br>
Here's the relevant blog post on why this is necessary:<br>
<a href="http://www.kitware.com/blog/home/post/11" target="_blank">http://www.kitware.com/blog/<u></u>home/post/11</a><br>
</blockquote></div><br></div>
</div></div><br></div></div>_______________________________________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cdash</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br>
</div>
</div></div></blockquote></div><br></div></div>