[CMake] CDash + Perforce

David Cole david.cole at kitware.com
Wed Nov 16 12:01:23 EST 2011


CDash is just a web app / server app. It does not do builds, it just
collects information from clients that submit to it, and displays
results.

Client machines can run ctest -S scripts to submit build/test results
to a CDash dashboard.

Look at the notes attached to a typical CMake dashboard for an example
of how a client machine must be set up to submit to the CDash server.

For example, this one:

  http://www.cdash.org/CDash/viewNotes.php?buildid=1730072

On our machine, dashmacmini5.kitware, a script runs this command with
the script shown at the above link:

  ctest -S ${HOME}/Dashboards/DashboardScripts/dashmacmini5_cmake_clang.cmake
-O ${HOME}/Dashboards/Logs/dashmacmini5_cmake_clang.log


HTH,
David


On Wed, Nov 16, 2011 at 11:55 AM, Robert Dailey <rcdailey at gmail.com> wrote:
> Seems like the web viewer link is optional, I created the project without
> it.
> However, I see the default build groups but how do I add a build? I suppose
> CDash needs to know how to do a checkout of source code from Perforce? I'm
> really confused on what to do next...
>
> ---------
> Robert Dailey
>
>
> On Wed, Nov 16, 2011 at 10:40 AM, Robert Dailey <rcdailey at gmail.com> wrote:
>>
>> Is it possible to use CDash with perforce as our SCM?
>> During the CDash installation, it is asking me for a "Repository
>> ViewerURL", and from the drop down it doesn't show perforce as a valid item
>> in the list. Can this step be skipped or is there some way to make perforce
>> work with this? I believe perforce's web viewer is P4Web.
>> Thanks.
>>
>> ---------
>> Robert Dailey
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list