[CMake] Make ctest spit out xml file (without dashboard)

Eric Noulard eric.noulard at gmail.com
Mon Mar 19 09:37:09 EDT 2018


2018-03-19 13:14 GMT+01:00 Craig Scott <craig.scott at crascit.com>:

>
>
> On Mon, Mar 19, 2018 at 10:39 PM, Eric Noulard <eric.noulard at gmail.com>
> wrote:
>
>> Hi there,
>>
>> Is it possible to make ctest spit out its result in an xml formatted file
>> without
>> sending it to some dashboard. ?
>>
>
> Yes, you can control the individual steps of a full dashboard run and just
> leave out the submit step. For example:
>
> ctest -T Start -T Update -T Configure -T Build -T Test -T Coverage -T
> MemCheck
>
> Leave out any of the above -T actions you don't need. XML result files
> will be in a Testing/YYYYMMDD-hhmm directory and log files in
> Testing/Temporary. The Start action creates a new YYYYMMDD-hhmm timestamp
> directory that the rest of the steps will then store their XML result files
> in. The first line of the file at Testing/TAG records that timestamp and
> the second line in there you won't care about if not submitting the results
> to a dashboard.
>
> Hopefully that gets you far enough along to what you need.
>

This is indeed far just enough for my needs.
Thank you very much Craig.


-- 
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180319/313f298f/attachment.html>


More information about the CMake mailing list