diff options
author | Brad King <brad.king@kitware.com> | 2020-06-18 16:44:08 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-06-18 16:44:14 (GMT) |
commit | 310e953d58127b554f54739535508dfe02c80de0 (patch) | |
tree | dd7970750f35e836bfa044fcba3e06831015246c /Modules | |
parent | b8d136652fbb2c0b921d7462cb0f166491fe62d4 (diff) | |
parent | 947cfc732d6a83081fec28cce9a2d9deeeb47a8d (diff) | |
download | CMake-310e953d58127b554f54739535508dfe02c80de0.zip CMake-310e953d58127b554f54739535508dfe02c80de0.tar.gz CMake-310e953d58127b554f54739535508dfe02c80de0.tar.bz2 |
Merge topic 'doc-3.18-fixups' into release-3.18
947cfc732d Help: Explicitly say transaction, don't abbreviate to trans
90c73479bc Help: Correct and condense examples for VS_SOLUTION_DEPLOY
0420de10b5 Help: Add missing cross-referencing for generator expressions
013f7a2647 Help: Formatting, crossref for FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG>
a12d53acf3 Help: Add missing PCH_WARN_INVALID docs and related cleanups
95a16f7805 Help: Fix formatting error and consistency for gtest_discover_tests()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4915
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/GoogleTest.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/GoogleTest.cmake b/Modules/GoogleTest.cmake index 975ce6c..f75d6ad 100644 --- a/Modules/GoogleTest.cmake +++ b/Modules/GoogleTest.cmake @@ -155,7 +155,7 @@ same as the Google Test name (i.e. ``suite.testcase``); see also [DISCOVERY_MODE <POST_BUILD|PRE_TEST>] ) - ``gtest_discover_tests`` sets up a post-build command on the test executable + ``gtest_discover_tests()`` sets up a post-build command on the test executable that generates the list of tests by parsing the output from running the test with the ``--gtest_list_tests`` argument. Compared to the source parsing approach of :command:`gtest_add_tests`, this ensures that the full list of @@ -212,7 +212,7 @@ same as the Google Test name (i.e. ``suite.testcase``); see also ``PROPERTIES name1 value1...`` Specifies additional properties to be set on all tests discovered by this - invocation of ``gtest_discover_tests``. + invocation of ``gtest_discover_tests()``. ``TEST_LIST var`` Make the list of tests available in the variable ``var``, rather than the @@ -246,7 +246,7 @@ same as the Google Test name (i.e. ``suite.testcase``); see also XML result output when using parallel test execution. ``DISCOVERY_MODE`` - Provides greater control over when ``gtest_discover_tests``performs test + Provides greater control over when ``gtest_discover_tests()`` performs test discovery. By default, ``POST_BUILD`` sets up a post-build command to perform test discovery at build time. In certain scenarios, like cross-compiling, this ``POST_BUILD`` behavior is not desirable. @@ -257,7 +257,7 @@ same as the Google Test name (i.e. ``suite.testcase``); see also ``DISCOVERY_MODE`` defaults to the value of the ``CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE`` variable if it is not - passed when calling ``gtest_discover_tests``. This provides a mechanism + passed when calling ``gtest_discover_tests()``. This provides a mechanism for globally selecting a preferred test discovery behavior without having to modify each call site. |