[CMake] How to make ctest not buffer its output?

Daniel Nelson torham at connect2.com
Thu Dec 4 20:54:42 EST 2008


Alexander Neundorf wrote:
> On Thursday 04 December 2008, Hugo Heden wrote:
>> Good day all,
>>
>> I use ctest --build-and-test to do some stuff that takes a long time.
>> It seems that ctest buffers the output of its subcommands so that
>> nothing is written (to the "terminal") until at the end. This is a
>> little unconvenient -- as a human I feel more comfortable actually
>> seeing that "something is happening".
>>
>> Is there a way I can force ctest to not buffer the output of
>> subcommands, but rather just flush it?
> 
> Does ctest -VV do what you want ?
> It switches to "extra verbose" mode.
> 

I submitted this some time ago as bug 0005814.  I don't believe there is 
a way to view the output until the test finishes.
--
Daniel


More information about the CMake mailing list