From 1ef54f3163a5c0835a2e214772d7170c9aeab0b1 Mon Sep 17 00:00:00 2001 From: Craig Scott Date: Sun, 14 Nov 2021 16:49:23 +1100 Subject: Help: Clarify meaning of filter expression in gtest_discover_tests() --- Modules/GoogleTest.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Modules/GoogleTest.cmake b/Modules/GoogleTest.cmake index a483c03..efc33e3 100644 --- a/Modules/GoogleTest.cmake +++ b/Modules/GoogleTest.cmake @@ -208,8 +208,11 @@ same as the Google Test name (i.e. ``suite.testcase``); see also ``TEST_FILTER expr`` .. versionadded:: 3.22 - Filter expression to pass to ``--gtest_filter`` argument during test - discovery. + Filter expression to pass as a ``--gtest_filter`` argument during test + discovery. Note that the expression is a wildcard-based format that + matches against the original test names as used by gtest. For type or + value-parameterized tests, these names may be different to the potentially + pretty-printed test names that ``ctest`` uses. ``NO_PRETTY_TYPES`` By default, the type index of type-parameterized tests is replaced by the -- cgit v0.12