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

Brad King brad.king at kitware.com
Tue Jul 21 09:53:07 EDT 2015


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



More information about the cmake-developers mailing list