[CMake] Getting full console output on dashboard

Clinton Stimpson clinton at elemtech.com
Thu Feb 5 15:23:37 EST 2009


Andriy Fedorov wrote:
> On Thu, Feb 5, 2009 at 2:46 PM, Clinton Stimpson <clinton at elemtech.com> wrote:
>   
>> You can add this in your ctest script.
>> SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 0)
>> SET(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 0)
>>
>>     
>
> Well, I don't understand why it should be 0, but in any case this
> doesn't seem to change anything.
>
> CMakeLists.txt:
> http://viewvc.slicer.org/viewcvs.cgi/trunk/Modules/ChangeTracker/Testing/CMakeLists.txt?rev=8577&view=markup
>   

I put it in a ctest script, not a CMakeLists.txt file (which is read by 
cmake).
Alternatively, you can put it in a CTestCustom.ctest file so ctest picks 
it up when it runs.
http://www.cmake.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest

Clint



More information about the CMake mailing list