[CMake] CMake make test feature?

Nicolas Desprès nicolas.despres at gmail.com
Thu Mar 31 18:43:07 EDT 2011


On Fri, Apr 1, 2011 at 12:22 AM, Belcourt, Kenneth <kbelco at sandia.gov> wrote:
> Hi,

Hello,

>
> This is probably old news but is there some reason why I can build my code
> in parallel with make -j8, for example, but trying to run the tests in
> parallel with make -j8 tests ignores the -j option.  I've resorted to
> invoking ctest with -j8 which works fine.  Any way to normalize the behavior
> so that builds and tests behave the same with respect to the -j option?

AFAIK, you can't.  But I read on this ML that you can do:

make test ARGS='-j8'

Cheers,

-- 
Nicolas Desprès


More information about the CMake mailing list