diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-09-02 16:35:42 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-09-02 16:35:42 (GMT) |
commit | 7e20db0224571361d6d5f62fc58b12452bec826b (patch) | |
tree | b7f0fc10d4e82c0068a7ddffc087fb028fcd4168 /Source/CTest/cmCTestTestCommand.cxx | |
parent | 69fd641adb32c878ded4cadee60d90596b358d1b (diff) | |
download | CMake-7e20db0224571361d6d5f62fc58b12452bec826b.zip CMake-7e20db0224571361d6d5f62fc58b12452bec826b.tar.gz CMake-7e20db0224571361d6d5f62fc58b12452bec826b.tar.bz2 |
ENH: Added PARALLEL_LEVEL option to ctest_test() command.
Diffstat (limited to 'Source/CTest/cmCTestTestCommand.cxx')
-rw-r--r-- | Source/CTest/cmCTestTestCommand.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestCommand.cxx b/Source/CTest/cmCTestTestCommand.cxx index 3efb39b..487f3bd 100644 --- a/Source/CTest/cmCTestTestCommand.cxx +++ b/Source/CTest/cmCTestTestCommand.cxx @@ -28,6 +28,7 @@ cmCTestTestCommand::cmCTestTestCommand() this->Arguments[ctt_INCLUDE] = "INCLUDE"; this->Arguments[ctt_EXCLUDE_LABEL] = "EXCLUDE_LABEL"; this->Arguments[ctt_INCLUDE_LABEL] = "INCLUDE_LABEL"; + this->Arguments[ctt_PARALLEL_LEVEL] = "PARALLEL_LEVEL"; this->Arguments[ctt_LAST] = 0; this->Last = ctt_LAST; } @@ -90,6 +91,11 @@ cmCTestGenericHandler* cmCTestTestCommand::InitializeHandler() handler->SetOption("LabelRegularExpression", this->Values[ctt_INCLUDE_LABEL]); } + if(this->Values[ctt_PARALLEL_LEVEL]) + { + handler->SetOption("ParallelLevel", + this->Values[ctt_PARALLEL_LEVEL]); + } return handler; } |