<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 20, 2015 at 10:43 PM, Bill V <span dir="ltr"><<a href="mailto:vodall@gmail.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=vodall@gmail.com&cc=&bcc=&su=&body=','_blank');return false;">vodall@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Are there any sample projects available where the CTest database is<br>
accessed by scripts outside of the web interface for various data<br>
queries and extraction?</blockquote><div><br></div><div>Here's an example Python script used by the VTK developers to more easily track down failing tests:</div><div><br></div><div><a href="https://github.com/Kitware/VTK/blob/master/Utilities/Maintenance/vtk_fail_summary.py">https://github.com/Kitware/VTK/blob/master/Utilities/Maintenance/vtk_fail_summary.py</a> </div><div><br></div><div>In general, it is a goal of ours to make it easier to access the information in the CDash database.  We've made some progress on this recently, but it will still be some time before this effort is complete.</div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">   We'd like to create a CSV file of build<br>
timings for reports other than what is currently available.  The<br>
information to do it is in the CDash scripts but if there's some<br>
python or other code available it'll give a good start.<br></blockquote><div><br></div><div>Take a look at the documentation here:</div><div><br></div><div><a href="http://public.kitware.com/Wiki/CDash:API">http://public.kitware.com/Wiki/CDash:API</a><br></div><div><br></div><div>I'm not 100% sure, but the "revisionstatus" task might give you the information that you're seeking.</div></div></div></div>