diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-05-17 13:26:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-05-21 19:27:09 (GMT) |
commit | db4350232639d9356c4bf5af6a91d71e5d45c93e (patch) | |
tree | bb5b7a666e2509c1e2df8bc2751c20e74a50375c /Source/ctest.cxx | |
parent | edeabd18e6db5a52b2191ea9d3b09ee8bd090af6 (diff) | |
download | CMake-db4350232639d9356c4bf5af6a91d71e5d45c93e.zip CMake-db4350232639d9356c4bf5af6a91d71e5d45c93e.tar.gz CMake-db4350232639d9356c4bf5af6a91d71e5d45c93e.tar.bz2 |
CTest: Read CTEST_PARALLEL_LEVEL from environment
If no explicit "-j <n>" option is given on the command line then read
the parallel level from an environment variable.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 285ec17..e767a16 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -71,7 +71,8 @@ static const char * cmDocumentationOptions[][3] = {"-j <jobs>, --parallel <jobs>", "Run the tests in parallel using the" "given number of jobs.", "This option tells ctest to run the tests in parallel using given " - "number of jobs."}, + "number of jobs. This option can also be set by setting " + "the environment variable CTEST_PARALLEL_LEVEL."}, {"-Q,--quiet", "Make ctest quiet.", "This option will suppress all the output. The output log file will " "still be generated if the --output-log is specified. Options such " |