mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
GoogleTest: Set DEF_SOURCE_LINE on tests if file and line are known
This information is available when --gtest_output=json is supported, which it almost always is on GoogleTest >= 1.8.1.
This commit is contained in:
committed by
Craig Scott
parent
1cdceae8e3
commit
3f780c3fde
7
Help/release/dev/gtest-use-json-output-for-discovery.rst
Normal file
7
Help/release/dev/gtest-use-json-output-for-discovery.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user