summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Make/CTestJobServer.make
Commit message (Collapse)AuthorAgeFilesLines
* ctest: Allow passing -j without value to choose a contextual defaultBrad King2024-03-101-3/+3
| | | | | | | | | | | | | Under job server integration, added by commit 80fe56c481 (ctest: Add support for running under a make job server on POSIX systems, 2023-11-15, v3.29.0-rc1~324^2), use a very high default so that parallelism is effectively limited only by available job server tokens. Otherwise, choose a default limit based on the number of processors. Also allow passing `0` to specify unbounded parallelism. Fixes: #25739
* ctest: Add support for running under a make job server on POSIX systemsBrad King2023-12-031-0/+11
Share job slots with the job server by acquiring a token before running each test, and releasing the token when the test finishes.