diff options
author | Brad King <brad.king@kitware.com> | 2021-05-27 16:06:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-05-27 16:11:19 (GMT) |
commit | 91b8676f8c6dd2611a234bb0ef1697627e901772 (patch) | |
tree | db2889c87e39abaf133850990a2274d92daa78db /Help/prop_test/FAIL_REGULAR_EXPRESSION.rst | |
parent | 34a5163fecebf86d93277830a673fabdd53da82c (diff) | |
download | CMake-91b8676f8c6dd2611a234bb0ef1697627e901772.zip CMake-91b8676f8c6dd2611a234bb0ef1697627e901772.tar.gz CMake-91b8676f8c6dd2611a234bb0ef1697627e901772.tar.bz2 |
Help: Clarify {PASS,FAIL}_REGULAR_EXPRESSION semantics w.r.t. exit code
Also cross-reference them with each other and `SKIP_REGULAR_EXPRESSION`.
Diffstat (limited to 'Help/prop_test/FAIL_REGULAR_EXPRESSION.rst')
-rw-r--r-- | Help/prop_test/FAIL_REGULAR_EXPRESSION.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Help/prop_test/FAIL_REGULAR_EXPRESSION.rst b/Help/prop_test/FAIL_REGULAR_EXPRESSION.rst index facf902..1ec4517 100644 --- a/Help/prop_test/FAIL_REGULAR_EXPRESSION.rst +++ b/Help/prop_test/FAIL_REGULAR_EXPRESSION.rst @@ -1,7 +1,8 @@ FAIL_REGULAR_EXPRESSION ----------------------- -If the output matches this regular expression the test will fail. +If the output matches this regular expression the test will fail, +regardless of the process exit code. If set, if the output matches one of specified regular expressions, the test will fail. Example: @@ -13,3 +14,6 @@ the test will fail. Example: ) ``FAIL_REGULAR_EXPRESSION`` expects a list of regular expressions. + +See also the :prop_test:`PASS_REGULAR_EXPRESSION` and +:prop_test:`SKIP_REGULAR_EXPRESSION` test properties. |