summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-02-10 19:24:24 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-02-10 19:24:24 (GMT)
commit4e710a9ebe0ba2bb1b61018469bd981b138e584d (patch)
tree02fd27ca753aa63f6637d9a4dc2fd1a8524a71cd /Source/CTest/cmCTestTestCommand.h
parent70363cbf8f24e3cb7b340095130777ccf1a16ca3 (diff)
downloadCMake-4e710a9ebe0ba2bb1b61018469bd981b138e584d.zip
CMake-4e710a9ebe0ba2bb1b61018469bd981b138e584d.tar.gz
CMake-4e710a9ebe0ba2bb1b61018469bd981b138e584d.tar.bz2
ENH: add the ability to run tests by labels
Diffstat (limited to 'Source/CTest/cmCTestTestCommand.h')
-rw-r--r--Source/CTest/cmCTestTestCommand.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestTestCommand.h b/Source/CTest/cmCTestTestCommand.h
index b4fcadb..03ed7a1 100644
--- a/Source/CTest/cmCTestTestCommand.h
+++ b/Source/CTest/cmCTestTestCommand.h
@@ -63,13 +63,17 @@ public:
" ctest_test([BUILD build_dir]\n"
" [START start number] [END end number]\n"
" [STRIDE stride number] [EXCLUDE exclude regex ]\n"
- " [INCLUDE include regex] [RETURN_VALUE res] )\n"
+ " [INCLUDE include regex] [RETURN_VALUE res] \n"
+ " [EXCLUDE_LABEL exclude regex] \n"
+ " [INCLUDE_LABEL label regex] )\n"
"Tests the given build directory and stores results in Test.xml. The "
"second argument is a variable that will hold value. Optionally, "
"you can specify the starting test number START, the ending test number "
"END, the number of tests to skip between each test STRIDE, a regular "
"expression for tests to run INCLUDE, or a regular expression for tests "
- "to not run EXCLUDE.";
+ "to not run EXCLUDE. EXCLUDE_LABEL and INCLUDE_LABEL are regular "
+ "expression for test to be included or excluded by the test "
+ "property LABEL.";
}
cmTypeMacro(cmCTestTestCommand, cmCTestHandlerCommand);
@@ -86,6 +90,8 @@ protected:
ctt_STRIDE,
ctt_EXCLUDE,
ctt_INCLUDE,
+ ctt_EXCLUDE_LABEL,
+ ctt_INCLUDE_LABEL,
ctt_LAST
};
};