I've reproduced this with the script below. Just run it with "ctest -S DashboardScript.cmake -VV" and observe the results.<div><br></div><div>I polluted the Experimental section of the gccxml dashboard as proof of the problem. (And because I know that's a low traffic dashboard page, and the people who look at it won't mind me polluting it temporarily to help solve this problem...) :-)</div>
<div><br></div><div>There are build errors listed here:</div><div><a href="http://www.cdash.org/CDash/viewBuildError.php?buildid=699760">http://www.cdash.org/CDash/viewBuildError.php?buildid=699760</a></div><div><br></div>
<div>And here:</div><div><a href="http://www.cdash.org/CDash/buildSummary.php?buildid=699760">http://www.cdash.org/CDash/buildSummary.php?buildid=699760</a></div><div><br></div><div>Even though the top level page says "0" total errors for the "<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; ">build2-SmallAndFast</span>" build.</div>
<div><div><a href="http://www.cdash.org/CDash/index.php?project=gccxml&date=2010-08-21">http://www.cdash.org/CDash/index.php?project=gccxml&date=2010-08-21</a> (look in the Experimental section)</div></div><div><br>
</div><div>This below ctest script is somewhat funky, but completely self-contained. You can try it, too, if you'd like....</div><div><br></div><div>We'll investigate and figure this out. Clearly the top level page just needs to use the same query as the buildSummary page to get the correct number of build errors to display.</div>
<div><br></div><div><br></div><div>Thanks,</div><div>David Cole</div><div><br></div><div><br></div><div>Script:</div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Run this with "ctest -S DashboardScript.cmake [-VV]"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Tested with ctest version 2.8.2</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">set</span><span style="color: #000000">(root_dir </span>"${CTEST_SCRIPT_DIRECTORY}/dashboard"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Generates source and build trees:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># ${root_dir}/source</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># ${root_dir}/build1</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># ${root_dir}/build2</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Choose a CDash server and project to submit to:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># (Submit to localhost CDash or *any* available CDash server)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(CTEST_PROJECT_NAME <span style="color: #b43626">"gccxml"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(CTEST_NIGHTLY_START_TIME <span style="color: #b43626">"00:00:00 EST"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(CTEST_DROP_METHOD <span style="color: #b43626">"http"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(CTEST_DROP_SITE <span style="color: #b43626">"<a href="http://www.cdash.org">www.cdash.org</a>"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">set</span><span style="color: #000000">(CTEST_DROP_LOCATION </span>"/CDash/submit.php?project=${CTEST_PROJECT_NAME}"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(CTEST_DROP_SITE_CDASH TRUE)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># If running on a machine that has a localhost CDash, you can use these</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># instead of polluting the gccxml dashboard:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#set(CTEST_PROJECT_NAME "TestCompressionExample") # one project in the CDash test suite</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#set(CTEST_DROP_SITE "localhost")</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#set(CTEST_DROP_LOCATION "/CDash/submit.php?project=${CTEST_PROJECT_NAME}")</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Choose a generator and site to use for running all the dashboards below:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #a124a2">if<span style="color: #000000">(</span>UNIX<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"> <span style="color: #a124a2">set</span>(CTEST_CMAKE_GENERATOR <span style="color: #b43626">"Unix Makefiles"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #a124a2">elseif<span style="color: #000000">(</span>WIN32<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"> <span style="color: #a124a2">set</span>(CTEST_CMAKE_GENERATOR <span style="color: #b43626">"NMake Makefiles"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #a124a2">else<span style="color: #000000">()</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #000000"> </span><span style="color: #a124a2">message</span><span style="color: #000000">(</span><span style="color: #a124a2">FATAL_ERROR</span><span style="color: #000000"> </span>"please add script code to choose a CMake generator"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #a124a2">endif<span style="color: #000000">()</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">set</span><span style="color: #000000">(CTEST_NOTES_FILES </span>"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">site_name</span>(CTEST_SITE)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Generate a source tree (write a CMakeLists file).</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Running a build against this generated CMakeLists file will simply</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># download and extract *another* source tree. Just set url to a *.tgz file.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Run the first dashboard using this generated CMakeLists file to download the</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># "real" source tree. Then run the second dashboard against that tree.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">set</span><span style="color: #000000">(name </span>"SmallAndFast"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">set</span><span style="color: #000000">(url </span>"<a href="http://cmake.org/gitweb?p=cmake.git;a=snapshot;h=77afd489f574f3df063f014be6d4f9ec1722f770;sf=tgz">http://cmake.org/gitweb?p=cmake.git;a=snapshot;h=77afd489f574f3df063f014be6d4f9ec1722f770;sf=tgz</a>"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#set(name "TutorialStep7")</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #3000fd"><span style="color: #468509">#set(url "<a href="http://cmake.org/gitweb?p=cmake.git;a=snapshot;h=a992c81090ad7492039a8e6ac551051896ab9c8a;sf=tgz"><span style="color: #3000fd">http://cmake.org/gitweb?p=cmake.git;a=snapshot;h=a992c81090ad7492039a8e6ac551051896ab9c8a;sf=tgz</span></a>")</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">file</span><span style="color: #000000">(</span><span style="color: #a124a2">WRITE</span><span style="color: #000000"> </span>"${root_dir}/source/CMakeLists.txt"<span style="color: #000000"> </span>"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626">cmake_minimum_required(VERSION 2.8.2 FATAL_ERROR)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626">project(${CTEST_PROJECT_NAME} NONE)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626">include(ExternalProject)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626">if(NOT EXISTS \"\${CMAKE_CURRENT_BINARY_DIR}/${name}.tgz\")</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> message(STATUS \"[before DOWNLOAD ${name}.tgz]\")</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> file(DOWNLOAD</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> \"${url}\"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> \"\${CMAKE_CURRENT_BINARY_DIR}/${name}.tgz\"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> SHOW_PROGRESS</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> )</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> message(STATUS \"[after DOWNLOAD]\")</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626">endif()</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626">ExternalProject_Add(${name}</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> URL \"\${CMAKE_CURRENT_BINARY_DIR}/${name}.tgz\"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> CONFIGURE_COMMAND \"\"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> BUILD_COMMAND \"\"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> INSTALL_COMMAND \"\"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"> )</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #b43626">"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Run a dashboard using the above generated source tree...</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Running that dashboard will download and extract another source tree</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># for us to run another dashboard against.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(CTEST_BINARY_DIRECTORY <span style="color: #b43626">"${root_dir}/build1"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">set</span><span style="color: #000000">(CTEST_BUILD_NAME </span>"build1-Extract${name}"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(CTEST_SOURCE_DIRECTORY <span style="color: #b43626">"${root_dir}/source"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #000000">ctest_start(</span>"Experimental"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_configure()</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_read_custom_files(${CTEST_BINARY_DIRECTORY})</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_build()</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_submit()</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Now run another dashboard using the source tree extracted during</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># the run of dashboard #1...</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(CTEST_BINARY_DIRECTORY <span style="color: #b43626">"${root_dir}/build2"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(CTEST_BUILD_NAME <span style="color: #b43626">"build2-${name}"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">set</span><span style="color: #000000">(CTEST_SOURCE_DIRECTORY </span>"${root_dir}/build1/${name}-prefix/src/${name}"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #000000">ctest_start(</span>"Experimental"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># configure to cause a build error</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># (this configure option works with the SmallAndFast project -- if you change</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># the *.tar.gz file above, this won't make sense anymore...)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(cfg_options -DSAF_INTENTIONAL_COMPILE_ERROR:<span style="color: #a124a2">BOOL</span>=<span style="color: #a124a2">ON</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_configure(OPTIONS <span style="color: #b43626">"${cfg_options}"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_read_custom_files(${CTEST_BINARY_DIRECTORY})</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_build()</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_test()</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_submit()</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># same dashboard -- re-configure to eliminate the build error and submit</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># *just* the additional Build.xml file</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">message</span><span style="color: #000000">(</span>"sleeping for 30 seconds"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"><span style="color: #000000">ctest_sleep(30) </span># while it's sleeping, you can refresh your browser and go view the build errors in CDash</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #b43626"><span style="color: #a124a2">message</span><span style="color: #000000">(</span>"continuing"<span style="color: #000000">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo"><span style="color: #a124a2">set</span>(cfg_options -DSAF_INTENTIONAL_COMPILE_ERROR:<span style="color: #a124a2">BOOL</span>=<span style="color: #a124a2">OFF</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_configure(OPTIONS <span style="color: #b43626">"${cfg_options}"</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_build(<span style="color: #a124a2">APPEND</span>)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo">ctest_submit(PARTS build)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509">#</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Now the build errors submitted above have *apparently* been clobbered by this second submit</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># Interestingly, though, if you click on the "0" build errors, the previous build errors do</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># still show up... So they're not clobbered so much as masked by a misleading summary "0" on</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #468509"># the top page...</p></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Aug 20, 2010 at 12:06 AM, O'Shea, David <span dir="ltr"><<a href="mailto:OShea.D@emsglobaltracking.com">OShea.D@emsglobaltracking.com</a>></span> wrote:<br>
<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>
<blockquote style="border-left:#0000ff 2px solid;padding-left:5px;margin-left:5px;margin-right:0px">
<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> Thursday, 19 August 2010 9:00
PM<div class="im"><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></font><br></div><div class="im">
<div></div>On Wed, Aug 18, 2010 at 1:44 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 class="gmail_quote">
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<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>>>><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>
<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>
<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><font color="#0000ff" size="2" face="Arial"></font><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.<span><font color="#0000ff" size="2" face="Arial"> </font></span></div></div></div></blockquote>
<div><span></span><font face="Arial"><font color="#0000ff"><font size="2">I<span> 'm pretty
certain I tried that in amongst all the other
combinations!</span></font></font></font><br></div><div class="im">
<blockquote style="border-left:#0000ff 2px solid;padding-left:5px;margin-left:5px;margin-right:0px">
<div class="gmail_quote">
<div>I'm assuming you're using up to date ctest... 2.8.2?<span><font color="#0000ff" size="2" face="Arial"> </font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial"></font></span> </div></div></blockquote>
</div><div><span><font color="#0000ff" size="2" face="Arial">$
/c/Program\ Files/CMake\ 2.8/bin/ctest --version<br>ctest version
2.8.2<br> </font></span></div>
<div><span><font color="#0000ff" size="2" face="Arial">Thanks!<br>David</font></span></div>
<div><span><br><div class="im">
<p><font size="2">----------------------------------------------<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></font></p></div></span></div></div>
</blockquote></div><br></div>