SKIP_REGULAR_EXPRESSION.rst 490 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
SKIP_REGULAR_EXPRESSION
-----------------------

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:

.. code-block:: cmake

  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 :prop_test:`SKIP_RETURN_CODE` property.