[CMake] CTest and CPU core utilization

Sean McBride sean at rogue-research.com
Fri Jul 10 13:51:20 EDT 2009


On 7/10/09 1:44 PM, Bill Hoffman said:

>> Let's say I have:
>>  - an 8 core machine
>>  - hundreds of (slow) unit tests
>>  - most unit test are single threaded
>> 
>> Is there a way to make ctest run tests in palallel?  My CPUs are vastly
>> under utilized.
>> 
>> Thanks,
>> 
>There is a beta ctest -j N functionality in CVS.

Great!  Does 'N' instruct it to run 'N' tests in parallel?

>If the tests depend on each other, you have to add some 
>extra test properties to let ctest know about that.

Do you know if CMake itself, VTK, and ITK have these extra properties?

Thanks,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the CMake mailing list