[CMake] CTest and CPU core utilization
Bill Hoffman
bill.hoffman at kitware.com
Fri Jul 10 14:49:22 EDT 2009
Sean McBride wrote:
> On 7/10/09 2:07 PM, Bill Hoffman said:
>
>>>> There is a beta ctest -j N functionality in CVS.
>>> Great! Does 'N' instruct it to run 'N' tests in parallel?
>>>
>> Yes.
>
> Any plans to go even further? It's hard to choose 'N'. Some test may
> create many threads and some may create none. Perhaps a way for tests
> to report to ctest how many cores they need. Then ctest would have more
> info to decide how many/which tests to run at the same time.
Yes, the idea would be to set a test property on the test that gave the
test an N as well that could be taken into consideration when running
the test.
-Bill
More information about the CMake
mailing list