So basically because we use perforce, there is no way to use ctest?<div><br></div><div>I assume ctest does the following:</div><div>- Check out source code</div><div>- Configure CMake</div><div>- Generate CMake</div><div>- Initiate a build from generated targets</div>
<div><br></div><div>Is this correct? If so, it&#39;s the first step that code needs to be added for to support perforce?</div><div><br></div><div>Is there a way to tell CTest to not check out source code and instead point it to an existing working copy, that way I can perform the perforce checkout externally via script? This would make for a decent workaround.</div>
<div><br></div><div>Thanks.</div><div><div><br></div><div>---------</div>Robert Dailey<br>
<br><br><div class="gmail_quote">On Wed, Nov 16, 2011 at 11:03 AM, David Cole <span dir="ltr">&lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
And, to answer your initial question, no, perforce is not yet an<br>
officially supported version control system for use with ctest -S<br>
scripts and CDash.<br>
<br>
The ones that are include:<br>
  git<br>
  svn<br>
  cvs<br>
  hg<br>
  bzr<br>
<br>
Additional code needs to be added to both ctest and CDash in order to<br>
support new version control systems.<br>
<br>
<br>
HTH,<br>
David<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, Nov 16, 2011 at 12:01 PM, David Cole &lt;<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>&gt; wrote:<br>
&gt; CDash is just a web app / server app. It does not do builds, it just<br>
&gt; collects information from clients that submit to it, and displays<br>
&gt; results.<br>
&gt;<br>
&gt; Client machines can run ctest -S scripts to submit build/test results<br>
&gt; to a CDash dashboard.<br>
&gt;<br>
&gt; Look at the notes attached to a typical CMake dashboard for an example<br>
&gt; of how a client machine must be set up to submit to the CDash server.<br>
&gt;<br>
&gt; For example, this one:<br>
&gt;<br>
&gt;  <a href="http://www.cdash.org/CDash/viewNotes.php?buildid=1730072" target="_blank">http://www.cdash.org/CDash/viewNotes.php?buildid=1730072</a><br>
&gt;<br>
&gt; On our machine, dashmacmini5.kitware, a script runs this command with<br>
&gt; the script shown at the above link:<br>
&gt;<br>
&gt;  ctest -S ${HOME}/Dashboards/DashboardScripts/dashmacmini5_cmake_clang.cmake<br>
&gt; -O ${HOME}/Dashboards/Logs/dashmacmini5_cmake_clang.log<br>
&gt;<br>
&gt;<br>
&gt; HTH,<br>
&gt; David<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Nov 16, 2011 at 11:55 AM, Robert Dailey &lt;<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Seems like the web viewer link is optional, I created the project without<br>
&gt;&gt; it.<br>
&gt;&gt; However, I see the default build groups but how do I add a build? I suppose<br>
&gt;&gt; CDash needs to know how to do a checkout of source code from Perforce? I&#39;m<br>
&gt;&gt; really confused on what to do next...<br>
&gt;&gt;<br>
&gt;&gt; ---------<br>
&gt;&gt; Robert Dailey<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Nov 16, 2011 at 10:40 AM, Robert Dailey &lt;<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Is it possible to use CDash with perforce as our SCM?<br>
&gt;&gt;&gt; During the CDash installation, it is asking me for a &quot;Repository<br>
&gt;&gt;&gt; ViewerURL&quot;, and from the drop down it doesn&#39;t show perforce as a valid item<br>
&gt;&gt;&gt; in the list. Can this step be skipped or is there some way to make perforce<br>
&gt;&gt;&gt; work with this? I believe perforce&#39;s web viewer is P4Web.<br>
&gt;&gt;&gt; Thanks.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ---------<br>
&gt;&gt;&gt; Robert Dailey<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;<br>
&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt;&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>