<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=286184409-17082010><FONT color=#0000ff
size=2 face=Arial>Hi David,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=286184409-17082010><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=286184409-17082010><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 class=286184409-17082010><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=286184409-17082010><FONT color=#0000ff
size=2 face=Arial>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=286184409-17082010><FONT color=#0000ff
size=2 face=Arial>David</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV><!-- Converted from text/plain format -->
<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">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> David Cole
[mailto:david.cole@kitware.com] <BR><B>Sent:</B> Tuesday, 17 August 2010 12:33
AM<BR><B>To:</B> O'Shea, David<BR><B>Cc:</B>
cdash@public.kitware.com<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 class=gmail_quote>On Mon, Aug 16, 2010 at 11:00 AM, David Cole <SPAN
dir=ltr><<A
href="mailto:david.cole@kitware.com">david.cole@kitware.com</A>></SPAN>
wrote:<BR>
<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>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 class=im>
<DIV><BR></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><BR>As a workaround, I would have liked to have been
able to use<BR>ctest_build() to build both targets at once, but from
the<BR>documentation it seems this is not possible, and I can't make a
CMake<BR>target which depends on both "doc" and "all" either. The
only option<BR>I can see then is to have CMakeLists.txt optionally make
"all" depend<BR>on "doc" (I don't want to do this all the time, so would
need to pass<BR>this in as an option via ctest_configure()). Any
other suggestions<BR>are welcome!<BR></BLOCKQUOTE></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>Another suggestion worth considering: build your documentation as a test,
and control whether it is run by whatever means suit you best: a cmake option
to control a conditional add_test, or the "INCLUDE" or "EXCLUDE" option of
ctest_test to match by name at run time.</DIV>
<DIV><BR></DIV>
<DIV><BR></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 class=im>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><BR>Thanks in
advance,<BR>David<BR><BR><BR>----------------------------------------------<BR>David
O'Shea<BR>Senior Engineer<BR>EMS SATCOM Pacific Pty Ltd.<BR><BR><A
href="mailto:OShea.D@emsglobaltracking.com"
target=_blank>OShea.D@emsglobaltracking.com</A><BR><A
href="http://www.emsglobaltracking.com"
target=_blank>www.emsglobaltracking.com</A><BR>T: +61 8 8260
8187<BR>_______________________________________________<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></BLOCKQUOTE></DIV></DIV><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>