Re: [cmake-developers] [CMake] CTest threshold exceeds 1024 bytes
Hi Brad, i've updated the patch with the missing things, but I don't know how to use the -check.cmake scripts to check the length of the output. Maybe you could have a look at it. Best regards Roman Am 22.07.15 um 17:14 schrieb Brad King On 07/21/2015 06:16 PM, Roman Wüger wrote: I've attached a patch which learns CTest to handle it. I hope this patch could be merged. Good start. Please also update Help/manual/ctest.1.rst with documentation for the new options. Also please extend the test suite, likely in Tests/RunCMake/CTestCommandLine, to cover the options. See Tests/RunCMake/README.rst for information about how the existing test works. You could perhaps add a case that uses a -check.cmake script to verify the length of the output in a Test.xml file after running ctest -M Experimental -T Test plus the new options. Thanks, -Brad 0001-ctest-learned-to-limit-the-output-of-passed-and-fail.patch Description: Binary data -- 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
Re: [cmake-developers] [CMake] CTest threshold exceeds 1024 bytes
On 07/21/2015 06:16 PM, Roman Wüger wrote: I've attached a patch which learns CTest to handle it. I hope this patch could be merged. Good start. Please also update Help/manual/ctest.1.rst with documentation for the new options. Also please extend the test suite, likely in Tests/RunCMake/CTestCommandLine, to cover the options. See Tests/RunCMake/README.rst for information about how the existing test works. You could perhaps add a case that uses a -check.cmake script to verify the length of the output in a Test.xml file after running ctest -M Experimental -T Test plus the new options. 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
Re: [cmake-developers] [CMake] CTest threshold exceeds 1024 bytes
Hi Brad, I've attached a patch which learns CTest to handle it. I hope this patch could be merged. Best Regards Roman -Ursprüngliche Nachricht- Von: Brad King [mailto:brad.k...@kitware.com] Gesendet: Dienstag, 21. Juli 2015 15:53 An: Roman Wüger Cc: CMake Developer MailingList; CMake MailingList Betreff: Re: [CMake] CTest threshold exceeds 1024 bytes 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 0001-CTest-learned-to-limit-the-output-of-passed-and-fail.patch Description: Binary data -- 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
Re: [cmake-developers] [CMake] CTest threshold exceeds 1024 bytes
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 -- 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