https://github.com/Kitware/CMake
Raw File
Tip revision: 1e26c84b96c0ec6887de2cf5e14061ccb83bdbfe authored by Brad King on 01 July 2020, 11:14:26 UTC
CMake 3.18.0-rc3
Tip revision: 1e26c84
PASS_REGULAR_EXPRESSION.rst
PASS_REGULAR_EXPRESSION
-----------------------

The output must match this regular expression for the test to pass.

If set, the test output will be checked against the specified regular
expressions and at least one of the regular expressions has to match,
otherwise the test will fail.  Example:

.. code-block:: cmake

  set_tests_properties(mytest PROPERTIES
    PASS_REGULAR_EXPRESSION "TestPassed;All ok"
  )

``PASS_REGULAR_EXPRESSION`` expects a list of regular expressions.
back to top