This sounds like we need to change ctest such that you can do a submit in an "already ctest_start()-ed" tree without getting the error.<div><br></div><div>Your first instinct, to try leaving off the ctest_start() in the 2nd script sounds completely reasonable to me.</div>
<div><br></div><div>If you are running multiple scripts sequentially, there's no good reason I can think of that the 2nd and later scripts can't reuse the TAG from the first ctest_start call.<br><div><br></div><div>
Can you submit a bug to the bug tracker requesting this ability...?</div><div><br></div><div><br></div><div>Thanks,</div><div>David</div><div><br></div><div><br><div class="gmail_quote">On Thu, Dec 17, 2009 at 8:37 AM, Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">No. That does not help. I still get two entries on the dashboard. Is there anything else I can do?<br>
<br>
-Ken<div><div></div><div class="h5"><br>
<br>
<br>
On 12/16/09 2:38 PM, "Alexander Neundorf" <<a href="http://a.neundorf-work@gmx.net" target="_blank">a.neundorf-work@gmx.net</a>> wrote:<br>
<br>
</div></div></span></font><div><div></div><div class="h5"><blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">On Wednesday 16 December 2009, Moreland, Kenneth wrote:<br>
> I am setting up a ParaView dashboard for a cluster in which I have to<br>
> compile on one computer and then submit a job to run parallel tests on<br>
> another computer. This means I have to run one dashboard script to update<br>
> and build the code. At the end of this script I submit a parallel job to<br>
> run the tests. The problem I am having is that I cannot seem to submit the<br>
> results to the dashboard in such a way that I get both the build and test<br>
> information on the same entry.<br>
><br>
> My current configuration is as follows. To update, configure, and build<br>
> the latest version I have a CTest script like the following:<br>
><br>
> -Setup CMake variables-<br>
...<br>
> I am sure that the CMake variables are setup the same in both the build and<br>
> test scripts; I am actually using the same script to setup both.<br>
><br>
> Now here is the problem: each of the CTEST_SUBMIT() create their own entry<br>
> in the dashboard. The first one creates one that reports on the build but<br>
> is missing the test information. The second one has the results of the<br>
> test but has bogus information for the build. Does anyone know how to get<br>
> the the second submit to simply add the test information to the existing<br>
> build information? I tried simply removing the CTEST_START command from<br>
> the test script, but in that case the submission fails outright. I get<br>
> output like the following:<br>
><br>
> Test project /home/kmorel/dashboard/builds/ParaView3Experimental<br>
> Cannot create directory /Testing/Temporary<br>
> Cannot create log file: LastTest.log<br>
> Start 1: QVTK-TestQtInitialization<br>
> 1/1 Test #1: QVTK-TestQtInitialization ........ Passed 9.38 sec<br>
><br>
> 100% tests passed, 0 tests failed out of 1<br>
><br>
> Total Test time (real) = 11.53 sec<br>
> Cannot create directory /Testing<br>
> Cannot open notes file<br>
> Use HTTP Proxy: <a href="http://wwwproxy.sandia.gov:80" target="_blank">wwwproxy.sandia.gov:80</a><br>
> Cannot create directory /Testing/Temporary<br>
> Cannot create log file: LastSubmit.log<br>
> Submit files (using http)<br>
> Using HTTP submit method<br>
> Drop site:<a>http://</a><br>
> Submission successful<br>
> Error in read script:<br>
> /home/kmorel/dashboard/scripts/ParaView3Experimental.cmake<br>
><br>
> Any ideas?<br>
><br>
<br>
Does CTEST_SUBMIT(PARTS ... ) what you want ?<br>
It's here under "CDash Subprojects" :<br>
<a href="http://www.kitware.com/products/archive/kitware_quarterly0709.pdf" target="_blank">http://www.kitware.com/products/archive/kitware_quarterly0709.pdf</a><br>
<br>
Alex<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 <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: <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>
</span></font></blockquote><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
</span></font></div></div><div class="im"><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
**** Kenneth Moreland<br>
*** Sandia National Laboratories<br>
*********** <br>
*** *** *** email: <a href="http://kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a><br>
** *** ** phone: (505) 844-8919<br>
*** web: <a href="http://www.cs.unm.edu/~kmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><br>
</span></font></font><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt"><br>
</span></font>
</div></div>
<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 <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: <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></blockquote></div><br></div></div>