Revision 9abc99e90538d90634a14dd5349b3363f63d39c3 authored by Brad King on 18 March 2020, 11:54:11 UTC, committed by Kitware Robot on 18 March 2020, 11:54:23 UTC
cc7f116cb4 FindPython: fix regression on version validation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4492
2 parent s b145196 + cc7f116
Raw File
FAIL_REGULAR_EXPRESSION.rst
FAIL_REGULAR_EXPRESSION
-----------------------

If the output matches this regular expression the test will fail.

If set, if the output matches one of specified regular expressions,
the test will fail.  Example:

.. code-block:: cmake

  set_tests_properties(mytest PROPERTIES
    FAIL_REGULAR_EXPRESSION "[^a-z]Error;ERROR;Failed"
  )

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