SKIP_REGULAR_EXPRESSION

From Get docs
Cmake/docs/3.21/prop test/skip regular expression


SKIP_REGULAR_EXPRESSION

New in version 3.16.


If the output matches this regular expression the test will be marked as skipped.

If set, if the output matches one of specified regular expressions, the test will be marked as skipped. Example:

set_property(TEST mytest PROPERTY
  SKIP_REGULAR_EXPRESSION "[^a-z]Skip" "SKIP" "Skipped"
)

SKIP_REGULAR_EXPRESSION expects a list of regular expressions.

See also the SKIP_RETURN_CODE, PASS_REGULAR_EXPRESSION, and FAIL_REGULAR_EXPRESSION test properties.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_test/SKIP_REGULAR_EXPRESSION.html