[CMake] CTest: more space for test names in the output of 'make test'?

Bill Hoffman bill.hoffman at kitware.com
Mon Sep 29 13:25:17 EDT 2008


Klaus Nowikow wrote:
> Hi!
> 
> Is there a way to allocate more space for the names of the tests in the
> output of 'make test'?
> 
> I am trying to assign my tests meaningful names containing the name of
> the unit being tested as well as the package containing the unit.
> But that leads to output like this:
> 
> [...]
>   7/  8 Testing u:object-repository.ObjectMana   Passed
> [...]
> 
> Here, the prefix 'u:' stands for 'unit test', as opposed to 'c:'
> for 'component test'.
> 
> Obviously, the class name 'ObjectManager' in the above example was
> truncated. There will even be longer names for nested packages in the
> future.
> 
> Is there a way around this?
> 

Funny you should ask.  CVS CMake has a new option   --max-width or -W 
that will do this.

-Bill


More information about the CMake mailing list