mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Recent changes to the JSON and stdout parsers changed the current test names from an unintentional bug to an intentional compatibility hack. This commit removes that compatibility hack and makes tests with named parameters follow the same naming conventions as tests with numbered parameters. Fixes: #26939
13 lines
735 B
ReStructuredText
13 lines
735 B
ReStructuredText
gtest-use-json-output-for-discovery
|
|
-----------------------------------
|
|
|
|
* The :command:`gtest_discover_tests()` command from the :module:`GoogleTest`
|
|
module now sets the ``DEF_SOURCE_LINE`` test property for each discovered
|
|
test if gtest supports the ``--gtest_output=json`` option. This test
|
|
property is used by some IDEs to locate the source for each test.
|
|
* The :command:`gtest_discover_tests()` command from the :module:`GoogleTest`
|
|
module previously parsed certain type-parameterized test names incorrectly.
|
|
Their names ended up with raw characters from gtest's output and were
|
|
very obviously misparsed. Those names are now parsed correctly, so projects
|
|
may see different test names to before for affected tests.
|