[cmake-developers] [CMake] CTest threshold exceeds 1024 bytes

Roman Wüger roman.wueger at gmx.at
Tue Jul 21 18:16:37 EDT 2015


Hi Brad,

I've attached a patch which learns CTest to handle it.
I hope this patch could be merged.

Best Regards
Roman

> -----Ursprüngliche Nachricht-----
> Von: Brad King [mailto:brad.king at kitware.com]
> Gesendet: Dienstag, 21. Juli 2015 15:53
> An: Roman Wüger
> Cc: CMake Developer MailingList; CMake MailingList
> Betreff: Re: [CMake] CTest threshold exceeds 1024 bytes
> 
> On 07/21/2015 04:12 AM, Roman Wüger wrote:
> > Is there a way to get the full output without modifying every CMake
> > Script of about ~ 35 projects?
> 
> CTest always truncates the output of passing tests unless the test output
> contains the literal text "CTEST_FULL_OUTPUT".
> This was done long ago to limit the size of submissions of passed tests.
> 
> CTest will have to be taught an option to skip this.  Take a look at the
> definition and uses of CleanTestOutput in Source/CTest.
> There are already variables like CustomMaximumPassedTestOutputSize
> internally but it looks like there is no way to configure them at runtime.
> 
> -Brad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CTest-learned-to-limit-the-output-of-passed-and-fail.patch
Type: application/octet-stream
Size: 2949 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150722/ee28bbfe/attachment-0001.obj>


More information about the cmake-developers mailing list