On Wed, Aug 18, 2010 at 1:44 AM, O'Shea, David <span dir="ltr"><<a href="mailto:OShea.D@emsglobaltracking.com">OShea.D@emsglobaltracking.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Hi David,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Thanks, we have installed the latest version from Subversion
but the issue doesn't appear to have been fixed - I still see the same
behaviour as before.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">By the way, I assume the fix you're referring to is revision
2579/issue #10975?</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">As you can see from the comments in the CTest script snippet
my original post, I tried various combinations of "APPEND" options. I've
tried a few of them again. What exactly is actually the "correct" way of
doing this? Should the following work?</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"><div class="im">>>><br>ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})<br>ctest_start("Experimental")<br>ctest_configure(OPTIONS
[...])<br>ctest_read_custom_files(${CTEST_BINARY_DIRECTORY})<br></div>ctest_build()<br>ctest_test()<br>ctest_coverage()</font></span></div><div class="im">
<div> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">set(CTEST_NOTES_FILES<br>
[...])</font></span></div>
<div> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">ctest_submit()</font></span></div>
<div> </div>
</div><div class="im"><div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">ctest_build(TARGET
"doc"<br>
APPEND)<br>ctest_submit(PARTS Build)<br><<<</font></span></div></div></div></blockquote><div><br></div><div>Yes. I think this should work exactly as you've written it. If it does not, we should add a test to the CDash test suite and verify that errors and warnings from the two build steps accumulate rather than wipe each other out.</div>
<div><br></div><div>I would try using "APPEND" in the first ctest_build call, too, but I don't think that should have an effect. It should work as is.</div><div><br></div><div>I'm assuming you're using up to date ctest... 2.8.2?</div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="im">
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
</div><div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Thanks,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">David</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">PS Thanks Julien, I do see the fix for bug #11108 is
working!</font></span></div>
<div><font color="#0000ff" size="2" face="Arial"></font> </div>
<div><font color="#0000ff" size="2" face="Arial"></font> </div><br>
<blockquote style="border-left:#0000ff 2px solid;padding-left:5px;margin-left:5px;margin-right:0px" dir="ltr">
<div dir="ltr" lang="en-us" align="left">
<hr>
<font size="2" face="Tahoma"><div class="im"><b>From:</b> David Cole
[mailto:<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>] <br></div><b>Sent:</b> Tuesday, 17 August 2010 8:12
PM<div><div></div><div class="h5"><br><b>To:</b> O'Shea, David<br><b>Cc:</b>
<a href="mailto:cdash@public.kitware.com" target="_blank">cdash@public.kitware.com</a><br><b>Subject:</b> Re: [Cdash] Dashboard view only
shows last build with APPEND, but build page shows both<br></div></div></font><br></div><div><div></div><div class="h5">
<div></div>It is fairly stable. When in doubt, just check CDash's dashboard
itself: <a href="http://www.cdash.org/CDash/index.php?project=CDash" target="_blank">http://www.cdash.org/CDash/index.php?project=CDash</a>
<div><br></div>
<div>We have two failing tests that we are working on fixing. And we have been
adding tests over the last few months to get better coverage on the nightly
test suite. Overall, I would say svn trunk is actually in better shape than
the 1-6 branch at this point in time. (Because it is fairly stable and there
are a handful of bug fixes like this one that are in it...)</div>
<div><br></div>
<div>Let us know how it turns out.</div>
<div><br></div>
<div>Thanks,</div>
<div>David</div>
<div><br></div>
</div></div><div><br>
<div class="gmail_quote"><div><div></div><div class="h5">On Tue, Aug 17, 2010 at 5:47 AM, O'Shea, David <span dir="ltr"><<a href="mailto:OShea.D@emsglobaltracking.com" target="_blank">OShea.D@emsglobaltracking.com</a>></span>
wrote:<br>
</div></div><blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div><div><div></div><div class="h5">
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Hi
David,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Thanks
for your response and suggested workaround! With regards to using an
SVN trunk installation of CDash, that is possible. I don't want
to annoy our IT administrator too much, though, so is it fairly
stable?</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">Regards,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" size="2" face="Arial">David</font></span></div>
<div><font color="#0000ff" size="2" face="Arial"></font> </div>
<div><font color="#0000ff" size="2" face="Arial"></font> </div><br>
</div></div><blockquote style="border-left:#0000ff 2px solid;padding-left:5px;margin-left:5px;margin-right:0px"><div><div></div><div class="h5">
<div dir="ltr" lang="en-us" align="left">
<hr>
<font size="2" face="Tahoma"><b>From:</b> David Cole [mailto:<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>] <br><b>Sent:</b> Tuesday, 17
August 2010 12:33 AM<br><b>To:</b> O'Shea, David<br><b>Cc:</b> <a href="mailto:cdash@public.kitware.com" target="_blank">cdash@public.kitware.com</a><br><b>Subject:</b> Re: [Cdash]
Dashboard view only shows last build with APPEND, but build page shows
both<br></font><br></div>
</div></div><div>
<div></div>
<div>
<div></div>
<div class="gmail_quote"><div><div></div><div class="h5">On Mon, Aug 16, 2010 at 11:00 AM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>></span> wrote:<br>
</div></div><blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div class="gmail_quote"><div><div></div><div class="h5">
<div>
<div></div>
<div>On Fri, Aug 13, 2010 at 12:42 AM, O'Shea, David <span dir="ltr"><<a href="mailto:OShea.D@emsglobaltracking.com" target="_blank">OShea.D@emsglobaltracking.com</a>></span> wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">Hi all,<br><br>I'm using 'ctest -S' to run a script
which performs configure, build<br>('make all'), test, coverage, and
then an additional build ('make<br>doc'), and submitting the result to
CDash 1.6.4.<br><br>Here is what I think is the "interesting" part of
the
script:<br><br>>>><br>ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})<br>ctest_start("Experimental")<br>ctest_configure(OPTIONS
[...])<br>ctest_read_custom_files(${CTEST_BINARY_DIRECTORY})<br>ctest_build(APPEND)<br>#
tried with and without "APPEND" in ctest_build()
above<br>ctest_test()<br>ctest_coverage()<br><br>set(CTEST_NOTES_FILES<br>
[...])<br><br>ctest_submit()<br><br>ctest_start("Experimental"
APPEND)<br># tried with and without the additional call to
ctest_start() above<br>ctest_build(TARGET "doc"<br>
APPEND)<br>ctest_submit(PARTS
Build)<br><<<<br><br>For the purposes of my test, I've made
the first ctest_build() report<br>1 warning plus 2 errors, and the
second ctest_build() report 4<br>warnings.<br><br>The issue I'm having
is that, after the first ctest_submit(), the main<br>dashboard page in
CDash shows in the "Build" columns the warnings and<br>errors from the
first ctest_build() (1 warning plus 2 errors), but<br>once the second
ctest_submit() has been executed, only the results of<br>the second
ctest_build() are shown (0 errors and 4 warnings).<br><br>When I click
on the build name in the "Build Name" column to see the<br>details of
the build, in the "Current Build" table, it shows the total<br>errors
(2) and warnings (5), which is what I'd expect to see on the<br>main
dashboard page.<br><br>I assume this is a bug, and not by
design?<br></blockquote>
<div><br></div>
<div><br></div></div></div>
<div>Correct -- this *was* a bug in CDash. I know the fix was committed
to svn trunk of CDash within the past several weeks. Is there any way
you can try this scenario with an "svn trunk" installation of CDash, or
do you not have control over the CDash server...?</div>
<div><br></div>
<div>It should be fixed in svn trunk of CDash, and in the next official
release (1.8, sometime later this year?).</div>
<div><br></div>
<div><br></div>
<div>HTH,</div>
<div>David</div>
</div></div><div>
<div><br></div>
<div><span><font color="#0000ff" size="2" face="Arial">[...]</font></span></div>
<div><span></span> </div></div></div></blockquote></div></div></div></blockquote></div></blockquote></div></div></blockquote></div>
</blockquote></div><br>