[CMake] program output modified by ctest for cdash

David Cole david.cole at kitware.com
Tue Jun 23 14:08:53 EDT 2009


On Tue, Jun 23, 2009 at 1:31 PM, Clinton Stimpson <clinton at elemtech.com>wrote:

> David Cole wrote:
>
>>
>> Do you have access to the CDash server to add some logging code to it?
>>
> Yes I do.  If you could tell me how to add logging, that would help.  I
> have CDash 1.4.2.
>
> Clint
>
>>

In the CDash source tree, see the files:
CDash/cdash/ctestparser.php
CDash/xml_handlers/testing_handler.php

The ctestparser.php already has some add_log example calls in it (in the
error handling clauses...)

The arguments to add_log are:
add_log($text, $function, $type=LOG_INFO)

Then, after adding add_log calls, see the results in CDash/backup/cdash.log

Keep us posted on what you discover....


HTH,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090623/1b3d83c0/attachment.htm>


More information about the CMake mailing list