[cmake-developers] CTest threshold exceeds 1024 bytes

Roman Wüger roman.wueger at gmx.at
Thu Aug 20 06:30:05 EDT 2015


Hello Brad,

I made the "atoi" change but my problem is the test itself. I don't know how to specify the command line parameter and check the generated xml file.

Best Regards
RomN

> Am 27.07.2015 um 17:52 schrieb Brad King <brad.king at kitware.com>:
> 
>> On 07/23/2015 03:23 AM, "Roman Wüger" wrote:
>> I don't know how to use the -check.cmake scripts to check the
>> length of the output.
> 
> My advice to use Tests/RunCMake/CTestCommandLine turns out to be
> incorrect.  Use Tests/RunCMake/ctest_test instead because that
> one actually produces the .xml file.  See the TestChangeId case
> for another example that checks the .xml file content.
> 
> Also please change from "atoi" to StringToLong and issue a warning
> if the conversion of the specified value fails (see --test-load
> for an example).  Then add a test covering this warning for each
> option.
> 
> Thanks,
> -Brad


More information about the cmake-developers mailing list