[cmake-developers] CTest threshold exceeds 1024 bytes

Roman Wüger roman.wueger at gmx.at
Thu Sep 10 10:57:18 EDT 2015


I don't know where to set the variables nor where to set the command line parameters.
How can I then test that the maximum passed size is 40 bytes and the failed size is 60 for example?
Where can I produce such test data (test.xml) with the expected size?

Thanks

Best Regards
Roman

> Am 10.09.2015 um 15:40 schrieb Brad King <brad.king at kitware.com>:
> 
>> On 09/10/2015 05:40 AM, Roman Wüger wrote:
>> I fail on implementing the test cases, I'm not familiar with
>> testing this way in general. How can we finish this change?
> 
> We need to have proper testing or the feature will break in the
> future.  You may not even need the new options.  Have you tried
> setting
> 
> CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE
> CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE
> 
> in your ctest script?
> 
> -Brad


More information about the cmake-developers mailing list