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 -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers