SKIP_REGULAR_EXPRESSION.rst 601 B

123456789101112131415161718192021
  1. SKIP_REGULAR_EXPRESSION
  2. -----------------------
  3. .. versionadded:: 3.16
  4. If the output matches this regular expression the test will be marked as skipped.
  5. If set, if the output matches one of specified regular expressions,
  6. the test will be marked as skipped. Example:
  7. .. code-block:: cmake
  8. set_property(TEST mytest PROPERTY
  9. SKIP_REGULAR_EXPRESSION "[^a-z]Skip" "SKIP" "Skipped"
  10. )
  11. ``SKIP_REGULAR_EXPRESSION`` expects a list of regular expressions.
  12. See also the :prop_test:`SKIP_RETURN_CODE`,
  13. :prop_test:`PASS_REGULAR_EXPRESSION`, and :prop_test:`FAIL_REGULAR_EXPRESSION`
  14. test properties.