STYLE: More comments

This commit is contained in:
Andy Cedilnik 2005-11-09 11:14:54 -05:00
parent 4e9d832525
commit 4245eb0b53
1 changed files with 8 additions and 4 deletions

View File

@ -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);