summaryrefslogtreecommitdiff
path: root/share/cmake-3.16/Help/prop_test/SKIP_REGULAR_EXPRESSION.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.16/Help/prop_test/SKIP_REGULAR_EXPRESSION.rst')
-rw-r--r--share/cmake-3.16/Help/prop_test/SKIP_REGULAR_EXPRESSION.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/share/cmake-3.16/Help/prop_test/SKIP_REGULAR_EXPRESSION.rst b/share/cmake-3.16/Help/prop_test/SKIP_REGULAR_EXPRESSION.rst
new file mode 100644
index 0000000..2c6d980
--- /dev/null
+++ b/share/cmake-3.16/Help/prop_test/SKIP_REGULAR_EXPRESSION.rst
@@ -0,0 +1,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.