<div dir="ltr"><div><div>Dear ITK developers,<br>I have registered at kitware's dashboard in order to submit ITK Software Guide's build results.<br><br>I applied Matt's patch (<span class="">git pull <a href="http://review.source.kitware.com/p/ITKSoftwareGuide">http://review.source.kitware.com/p/ITKSoftwareGuide</a> refs/changes/87/12887/3</span>) to have the<span> CTestConfig.cmake.txt file in my sources</span>.<br>
<br>However, it looks like since there are no specific tests to the ITK Software Guide, nothing is built or the build fails.<br><br>I
also don't know whether the Insight project is the right project to
subscribe to in order to send the ITKSoftwareGuide build results :-S So
sorry if it is not, but I didn't find a more suitable one, and I guess I
don't have the rights to create one.<br>
<br>Now having seen the error result, I am wondering whether only test results can be sent to the dashboard. <br><br>AFAIK, even if tests are not built, the results of the compilation of the library itself may also be sent to the dashboard.<br>
<br>How can I achieve this for the ITKSoftwareGuide?<br><br></div><div>Am I missing something? Which is the difference between the two approaches, the one from my mail on Oct 2 (below), and the above one? Am I messing concepts?<br>
<br></div>Thanks in advance,<br></div>JON HAITZ<br><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Matt McCormick</b> <span dir="ltr"><<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>></span><br>
Date: 2 October 2013 20:26<br>Subject: Re: [Insight-users] [ITK] Configuring the ITKSoftwareGuide project to submit the results to the dashoard<br>To: Jon Haitz Legarreta <<a href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>><br>
Cc: Insight-users <<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>><br><br><br><div dir="ltr">Hi Jon,<div><br></div><div>This CTest script has only been tested for ITK -- it may needs some tweaks for ITKSoftwareGuide.</div>
<div><br></div><div>Thanks,</div><div>Matt</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="h5">On Wed, Oct 2, 2013 at 12:23 PM, Jon Haitz Legarreta <span dir="ltr"><<a href="mailto:jhlegarreta@vicomtech.org" target="_blank">jhlegarreta@vicomtech.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
<div dir="ltr"><div><div><div><div>Hi there,<br></div>I was trying to configure my local copy of the ITKSoftwareGuide branch (<br>
git clone <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide.git" target="_blank">https://github.com/InsightSoftwareConsortium/<span>ITKSoftwareGuide</span>.git</a>) so that the compilation result is sent to the ITK dashboard.<br>
<br>Although I read the instructions here:<br><a href="http://www.itk.org/Wiki/ITK/Policy_and_Procedure_for_Adding_Dashboards" target="_blank">http://www.itk.org/Wiki/ITK/Policy_and_Procedure_for_Adding_Dashboards</a><br>
<br>And I tried the instructions here:<br>
<a href="http://www.itk.org/Wiki/ITK/Git/Dashboard" target="_blank">http://www.itk.org/Wiki/ITK/Git/Dashboard</a><br><br></div>When trying to execute the<br><i>ctest -S ~/Dashboards/Scripts/my_dashboard.cmake -V</i><br></div>
command, it yields the following error:<br>
<br><i>Found 0 changed files<br>Configure project<br>Each . represents 1024 bytes of output<br>. Size of output: 0K<br>Error(s) when configuring the project</i><br><br></div>I wouldn't like ctest to download another copy of the ITK sources and create another build of them. I guess this can be achieved specifying the following variables:<br>
<div><br><i># dashboard_model = Nightly | Experimental | Continuous<br># dashboard_root_name = Change name of "My Tests" directory<br># dashboard_source_name = Name of source directory (ITK)<br>
# dashboard_binary_name = Name of binary directory (ITK-build)<br></i><br></div><div>in my my_dashboard.cmake file.<br><br></div><div>Let's assume I work in Windows and my ITK folder structure is as follows:<br>
Sources: C:\SDKs\ITK\itkSoftwareGuideBin\ITKv4<br>Binaries: C:\SDKs\ITK\itkSoftwareGuideBin\ITKv4-build<br><br></div><div>Now, I guess the above variables are set the following way:<br><i><br>set(dashboard_model "Experimental")<br>
set(dashboard_root_name "myITKDashboardFolder")<br>set(dashboard_source_name "/c/SDKs/ITK/ITKSoftwareGuideBin/ITKv4")<br>set(dashboard_binary_name "/c/SDKs/ITK/ITKSoftwareGuideBin/ITKv4-build")</i><br>
</div><div><div><br></div><div><div><div><div><div><div>However, looking at the it_common.cmake file, I've noticed that these variables are appended to CTEST_DASHBOARD_ROOT. What am I supposed to put in that variable then?<br>
<br>Am I supposed to specify the folowing variables as well?<br><i>dashboard_data_name <br>dashboard_cache<br>CMAKE_MAKE_PROGRAM </i> <br><br></div><div>Thanks.<br><br></div><div>Kind regards,<br>JON HAITZ<br></div>
<div><div><div dir="ltr"><table align="center" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><br></td></tr><tr><td><table align="center" border="0" cellpadding="0"><tbody><tr><td><span style="font-size:10px;color:gray;font-family:Verdana,Arial,Helvetica,sans-serif"></span><br>
</td></tr></tbody></table></td></tr></tbody></table></div></div>
</div></div></div></div></div></div></div></div>
<br></div></div>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>
</div><br></div>