diff options
author | Brad King <brad.king@kitware.com> | 2021-11-15 14:21:40 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-11-15 14:21:52 (GMT) |
commit | 3376f83889540197afd2127e56f7e4d7ab618b4c (patch) | |
tree | 3ffb09241a5375c085b9a08e9d66441cfffc8541 | |
parent | 62db7769a8c496016dce370beaa8c9e66e76a849 (diff) | |
parent | 1ef54f3163a5c0835a2e214772d7170c9aeab0b1 (diff) | |
download | CMake-3376f83889540197afd2127e56f7e4d7ab618b4c.zip CMake-3376f83889540197afd2127e56f7e4d7ab618b4c.tar.gz CMake-3376f83889540197afd2127e56f7e4d7ab618b4c.tar.bz2 |
Merge topic 'doc-gtest_discover_tests-filter'
1ef54f3163 Help: Clarify meaning of filter expression in gtest_discover_tests()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6727
-rw-r--r-- | Modules/GoogleTest.cmake | 7 |
1 files 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 |