Here is an example script that submits a nightly dashboard that I created on dash20 for vxl.<div><br></div><div><a href="http://www.cdash.org/CDash/viewNotes.php?buildid=373232">http://www.cdash.org/CDash/viewNotes.php?buildid=373232</a></div>
<div><br></div><div><a href="http://www.cdash.org/CDash/viewNotes.php?buildid=373232"></a>Your cronjob would call this script using ctest. For example your cronjob might look like this:</div><div><br></div><div>10 20 * * * * ctest -S vxl_dashboard.cmake -V</div>
<br><div class="gmail_quote">On Wed, Jul 8, 2009 at 4:26 PM, Francois Bertel <span dir="ltr"><<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
Just pick a script from the dashboard to start with, example:<br>
FarAway.kitware/ Linux-Coverage:<br>
<br>
click on the "list" icon on the build name:<br>
<a href="http://www.cdash.org/CDash/index.php?project=VTK&date=2009-07-08" target="_blank">http://www.cdash.org/CDash/index.php?project=VTK&date=2009-07-08</a><br>
<br>
and you get:<br>
<a href="http://www.cdash.org/CDash/viewNotes.php?buildid=373420" target="_blank">http://www.cdash.org/CDash/viewNotes.php?buildid=373420</a><br>
<br>
in the script,<br>
<br>
this line update VTKData:<br>
ctest_update(SOURCE "${CTEST_DASHBOARD_ROOT}/${extra_source_dir}")<br>
<br>
this line update the source code:<br>
ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}")<br>
<br>
Regards<br>
<div><div></div><div class="h5"><br>
On Wed, Jul 8, 2009 at 4:04 PM, David Doria<<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>> wrote:<br>
> When you run<br>
> make Experimental<br>
><br>
> it uses the current source that you have checked out, right? So are you<br>
> supposed to add a cron job to update the source and then another one to run<br>
> the tests/dashboard submission?<br>
><br>
> VXL has a cmake script that does everything at once<br>
> (<a href="http://vxl.sourceforge.net/submit-build.html" target="_blank">http://vxl.sourceforge.net/submit-build.html</a>). Am I missing this for VTK?<br>
> Or is that something that can be created?<br>
><br>
> Thanks,<br>
><br>
> David<br>
><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>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
François Bertel, PhD | Kitware Inc. Suite 204<br>
1 (518) 371 3971 x113 | 28 Corporate Drive<br>
| Clifton Park NY 12065, USA<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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>