diff options
author | Brad King <brad.king@kitware.com> | 2024-03-11 14:18:38 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-03-11 14:18:50 (GMT) |
commit | 89e99cca63e834901649da45b5e68fd50840e5a7 (patch) | |
tree | b19c572bc48eb332447f54913ef0f755500cc6d9 /Help/envvar | |
parent | 91feb31577f772a22aa25988a18cf5e24374b558 (diff) | |
parent | 5de1e21659090ca83e39e223d351e353347eb88e (diff) | |
download | CMake-89e99cca63e834901649da45b5e68fd50840e5a7.zip CMake-89e99cca63e834901649da45b5e68fd50840e5a7.tar.gz CMake-89e99cca63e834901649da45b5e68fd50840e5a7.tar.bz2 |
Merge topic 'ctest-j-default'
5de1e21659 ctest: Allow passing -j without value to choose a contextual default
bbcbcff7d9 cmCTestMultiProcessHandler: Modernize member initialization
7457b474a1 Tests: Remove unnecessary parallel suppression from CTestCoverageCollectGCOV
ae69801d96 Tests: Convert CTestTestSkipReturnCode to RunCMake.ctest_test case
30dda49416 Tests: Convert CTestTestSerialOrder to RunCMake.ctest_test case
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9315
Diffstat (limited to 'Help/envvar')
-rw-r--r-- | Help/envvar/CTEST_PARALLEL_LEVEL.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/envvar/CTEST_PARALLEL_LEVEL.rst b/Help/envvar/CTEST_PARALLEL_LEVEL.rst index 126bdb3..0ef01d5 100644 --- a/Help/envvar/CTEST_PARALLEL_LEVEL.rst +++ b/Help/envvar/CTEST_PARALLEL_LEVEL.rst @@ -8,4 +8,15 @@ For example, if ``CTEST_PARALLEL_LEVEL`` is set to 8, CTest will run up to 8 tests concurrently as if ``ctest`` were invoked with the :option:`--parallel 8 <ctest --parallel>` option. +.. versionchanged:: 3.29 + + The value may be empty, or ``0``, to let ctest use a default level of + parallelism, or unbounded parallelism, respectively, as documented by + the :option:`ctest --parallel` option. + + On Windows, environment variables cannot be set to an empty string. + CTest will interpret a whitespace-only string as empty. + + In CMake 3.28 and earlier, an empty or ``0`` value was equivalent to ``1``. + See :manual:`ctest(1)` for more information on parallel test execution. |