summaryrefslogtreecommitdiffstats
path: root/Source/cmSetTestsPropertiesCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-11-09 16:14:54 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-11-09 16:14:54 (GMT)
commit4245eb0b53559f643f044b49ad31121e9c38298b (patch)
tree0e7c060f2fee60329ebe06a859ccd87fd85d5c0c /Source/cmSetTestsPropertiesCommand.h
parent4e9d832525c2648314c7c0dc7f3d1a73b181eb09 (diff)
downloadCMake-4245eb0b53559f643f044b49ad31121e9c38298b.zip
CMake-4245eb0b53559f643f044b49ad31121e9c38298b.tar.gz
CMake-4245eb0b53559f643f044b49ad31121e9c38298b.tar.bz2
STYLE: More comments
Diffstat (limited to 'Source/cmSetTestsPropertiesCommand.h')
-rw-r--r--Source/cmSetTestsPropertiesCommand.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmSetTestsPropertiesCommand.h b/Source/cmSetTestsPropertiesCommand.h
index 4a9c7d9..c5bf5fa 100644
--- a/Source/cmSetTestsPropertiesCommand.h
+++ b/Source/cmSetTestsPropertiesCommand.h
@@ -55,12 +55,16 @@ public:
" 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. 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 "
+ "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.";
+ " Example: PASS_REGULAR_EXPRESSION \"TestPassed;All ok\"\n"
+ "FAIL_REGULAR_EXPRESSION: If set, if the output will match to one of "
+ "specified regular expressions, the test will fail.\n"
+ " Example: PASS_REGULAR_EXPRESSION \"[^a-z]Error;ERROR;Failed\"\n"
+ "Both PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION expect a list "
+ "of regular expressions.\n";
}
cmTypeMacro(cmSetTestsPropertiesCommand, cmCommand);