Skip to content

Help: test prop {FAIL,PASS,SKIP}_REGULAR_EXPRESSION clarify and example

scivision requested to merge scivision/cmake:doc-skip into master

just like !8937 (merged).

In particular, SKIP_REGULAR_EXPRESSION is useful for "shaky" tests that might work or might fail with a system-level error (or general error with known text) and you want to skip in that fail case.

clarified behavior for {PASS,FAIL}_REGULAR_EXPRESSION and SKIP_RETURN_CODE as well.

When I was an early CMake user I found these test property behaviors vis TIMEOUT and system-level failures confusing, so now the more specific behavior description and caveats with examples should help many other users as well.

Topic-rename: doc-test-pass-fail-skip

Edited by Craig Scott

Merge request reports