https://github.com/Kitware/CMake
Raw File
Tip revision: d25d75687d3fe53ab19b61b5d671c83d8203f15c authored by Brad King on 18 November 2019, 18:44:31 UTC
CMake 3.16.0-rc4
Tip revision: d25d756
SKIP_REGULAR_EXPRESSION.rst
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.
back to top