diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2010-08-31 10:41:23 -0400 |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2010-08-31 10:41:23 -0400 |
commit | 32242affea45eb3c3ffa2691657e970eaac49799 (patch) | |
tree | 6d75ae8b204aac75d8b8baae644e14f4f88557e5 /Source/cmCTest.cxx | |
parent | aac1680648634a87dd4eee3ae603aef387798244 (diff) | |
download | cmake-32242affea45eb3c3ffa2691657e970eaac49799.tar.gz |
Added CTest command --print-labels
This command allows a user to quickly see the list of all available
test labels. The labels are also printed in verbose show only mode,
alongside their corresponding tests.
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index d12fde0f8d..dcdc8e15b2 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -304,6 +304,7 @@ cmCTest::cmCTest() this->ShowOnly = false; this->RunConfigurationScript = false; this->UseHTTP10 = false; + this->PrintLabels = false; this->CompressTestOutput = true; this->ComputedCompressOutput = false; this->TestModel = cmCTest::EXPERIMENTAL; @@ -1877,6 +1878,11 @@ void cmCTest::HandleCommandLineArguments(size_t &i, this->CompressTestOutput = false; } + if(this->CheckArgument(arg, "--print-labels")) + { + this->PrintLabels = true; + } + if(this->CheckArgument(arg, "--http1.0")) { this->UseHTTP10 = true; |