]> git.donarmstrong.com Git - debhelper.git/commit
Add support for running tests in parallel to the cmake build system.
authorModestas Vainius <modestas@vainius.eu>
Fri, 2 Jul 2010 02:11:24 +0000 (05:11 +0300)
committerJoey Hess <joey@kitenet.net>
Fri, 5 Aug 2011 18:32:14 +0000 (14:32 -0400)
commit0f5a8c3b6f2c0687b55468edc0f26bf2a4df95e9
tree35b563248a78ca3fe1cb8290c4a8ff33d75da5e8
parent99647dd515f97cfc50fa3321b0a38c553746e244
Add support for running tests in parallel to the cmake build system.

Pass appropriate -jN option to ctest (via ARGS variable in the Makefile) to
enable support for running tests in parallel. Similarly to makefile build
system, ctest -j1 mode is enforced even when parallel mode in debhelper is not
explicitly enabled.

Unlike make, CTest does not have "unlimited parallel" setting (-j implies -j1).
So in order to simulate unlimited parallel, allow to fork a huge number of
threads instead.
Debian/Debhelper/Buildsystem/cmake.pm