summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorAshish Sadanandan <ashish.sadanandan@gmail.com>2021-07-26 16:44:21 (GMT)
committerAshish Sadanandan <ashish.sadanandan@gmail.com>2021-08-05 06:43:17 (GMT)
commitea6a7dd1c2e76533d6aa4725e04acc3d8e1ed912 (patch)
tree727cb24ff45ab42d2a00ce5aeab016363a25c327 /Help
parent6c0f476505166c3aed414c7707b92c68e278f9b3 (diff)
downloadCMake-ea6a7dd1c2e76533d6aa4725e04acc3d8e1ed912.zip
CMake-ea6a7dd1c2e76533d6aa4725e04acc3d8e1ed912.tar.gz
CMake-ea6a7dd1c2e76533d6aa4725e04acc3d8e1ed912.tar.bz2
GoogleTest: Add TEST_FILTER arg to gtest_discover_tests
The `TEST_FILTER` argument can be used to filter tests during the discovery phase. It combines `--gtest_filter=<expr>` with the `--gtest_list_tests` argument when invoking the test excutable for listing defined tests. Fixes: #17493
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/GoogleTest-gtest-filter.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/release/dev/GoogleTest-gtest-filter.rst b/Help/release/dev/GoogleTest-gtest-filter.rst
new file mode 100644
index 0000000..48b97a7
--- /dev/null
+++ b/Help/release/dev/GoogleTest-gtest-filter.rst
@@ -0,0 +1,6 @@
+GoogleTest-gtest-filter
+-----------------------
+
+* The :module:`GoogleTest` module :command:`gtest_discover_tests`
+ function gained a ``TEST_FILTER`` option to filter tests using
+ ``--gtest_filter`` during test discovery.