[CMake] CxxTest failure out running unit tests

Tron Thomas tron.thomas at verizon.net
Sun Dec 7 11:35:57 EST 2008


Hey Bill,
The command listed below looks like it is something that would be issued 
from a command line in a terminal, and not something that would be 
recognized as a valid operation within a CMake script.
How does this command help CMake to configure unit tests for verbose output?
Bill Hoffman wrote:
> Philip Lowman wrote:
>> On Sat, Dec 6, 2008 at 9:00 PM, Tron Thomas <tron.thomas at verizon.net 
>> <mailto:tron.thomas at verizon.net>> wrote:
>>
>>     I know that if I type ctest -V from the command line, I can get
>>     output that include the CxxTest information.  I'm not sure what I'm
>>     supposed to do in my CMakeLists.txt files that will cause the same
>>     behaviour when I build the target that runs the unit tests.
>>
>>
>> So what you're asking is if there is a way to have "make test" output 
>> the equivalent of "ctest -V" on any failed tests?  I don't know if 
>> that's possible out of the box, but that sounds like a useful feature 
>> to me.
>>
>
> make test ARGS=-VV
>
> -Bill
>



More information about the CMake mailing list