[CMake] CTest and CPU core utilization
Bill Hoffman
bill.hoffman at kitware.com
Fri Jul 10 13:44:20 EDT 2009
Sean McBride wrote:
> Hi all,
>
> 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. It does not submit to
dashboards correctly yet, but should be able to run tests from the
command line. If the tests depend on each other, you have to add some
extra test properties to let ctest know about that.
-Bill
More information about the CMake
mailing list