[CMake] Getting full console output on dashboard

Clinton Stimpson clinton at elemtech.com
Thu Feb 5 14:46:21 EST 2009


Andriy Fedorov wrote:
> Hi,
>
> I am trying to get untruncated console output for a *passing* test on dashboard.
>
> I found that I can do this with this line:
>
> cout << "CTEST_FULL_OUTPUT" << endl;
>
> in the source of my test. This doesn't seem to work -- the output is
> still truncated.
>
> My test is here:
> http://viewvc.slicer.org/viewcvs.cgi/trunk/Modules/ChangeTracker/CommandLineApplication/ChangeTrackerCommandLine.cxx?rev=8576&view=markup
> The dashboard output is here:
> http://www.cdash.org/CDash/testDetails.php?test=16624115&build=264948
>
> Is there a working solution? Thank you
>
> Andriy Fedorov
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>   

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)

Clint



More information about the CMake mailing list