CTEST_PARALLEL_LEVEL.rst 742 B

123456789101112131415161718192021
  1. CTEST_PARALLEL_LEVEL
  2. --------------------
  3. .. include:: include/ENV_VAR.rst
  4. Specify the number of tests for CTest to run in parallel.
  5. For example, if ``CTEST_PARALLEL_LEVEL`` is set to 8, CTest will run
  6. up to 8 tests concurrently as if ``ctest`` were invoked with the
  7. :option:`--parallel 8 <ctest --parallel>` option.
  8. .. versionchanged:: 3.29
  9. The value may be empty, or ``0``, to let ctest use a default level of
  10. parallelism, or unbounded parallelism, respectively, as documented by
  11. the :option:`ctest --parallel` option.
  12. CTest will interpret a whitespace-only string as empty.
  13. In CMake 3.28 and earlier, an empty or ``0`` value was equivalent to ``1``.
  14. See :manual:`ctest(1)` for more information on parallel test execution.