summaryrefslogtreecommitdiffstats
path: root/Source/cmSetTestsPropertiesCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-11-09 16:07:36 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-11-09 16:07:36 (GMT)
commit4e9d832525c2648314c7c0dc7f3d1a73b181eb09 (patch)
treee4287bcff167bee1f909ae381524ea9537969d21 /Source/cmSetTestsPropertiesCommand.h
parenta285a90809a2b2b9cb0884e3e12eba7c5e3e1f09 (diff)
downloadCMake-4e9d832525c2648314c7c0dc7f3d1a73b181eb09.zip
CMake-4e9d832525c2648314c7c0dc7f3d1a73b181eb09.tar.gz
CMake-4e9d832525c2648314c7c0dc7f3d1a73b181eb09.tar.bz2
ENH: Change flag to PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION and add help in cmSetTestsPropertiesCommand
Diffstat (limited to 'Source/cmSetTestsPropertiesCommand.h')
-rw-r--r--Source/cmSetTestsPropertiesCommand.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmSetTestsPropertiesCommand.h b/Source/cmSetTestsPropertiesCommand.h
index 354eb3c..4a9c7d9 100644
--- a/Source/cmSetTestsPropertiesCommand.h
+++ b/Source/cmSetTestsPropertiesCommand.h
@@ -53,8 +53,14 @@ public:
{
return
" SET_TESTS_PROPERTIES(test1 [test2...] PROPERTIES prop1 value1 prop2 value2)\n"
- "Set a property for the tests. If the "
- "property is not found, CMake will report an error.";
+ "Set a property for the tests. If the property is not found, CMake will "
+ "report an error. The properties include:\n"
+ " WILL_FAIL if set to true, this will invert the pass/fail flag of the test.\n"
+ " PASS_REGULAR_EXPRESSION if set, the test output will be checked "
+ "against the specified regular expressions and at least one of the regular "
+ "expressions has to match, otherwise the test will fail.\n"
+ " FAIL_REGULAR_EXPRESSION if set, if the output will match to one of "
+ "specified regular expressions, the test will fail.";
}
cmTypeMacro(cmSetTestsPropertiesCommand, cmCommand);