[cmake-developers] CTest threshold exceeds 1024 bytes

Brad King brad.king at kitware.com
Mon Jul 27 11:52:36 EDT 2015


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