https://bugs.kde.org/show_bug.cgi?id=405225

Milian Wolff <m...@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |kdevelop/commit/d5e3e27bb27
                   |                            |20d84adda95de07a728a9e61c86
                   |                            |6f
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Milian Wolff <m...@milianw.de> ---
Git commit d5e3e27bb2720d84adda95de07a728a9e61c866f by Milian Wolff, on behalf
of Thibault North.
Committed on 20/03/2019 at 18:27.
Pushed by mwolff into branch 'master'.

CMake: discover more unit tests

Discover unit-tests using bracket arguments and/or listed in
files other than CTestTestFile.cmake:

When using gtest_discover_tests(), add_test() directives are present
in various .cmake files. To date, Kdevelop searches for unit-tests
does not follow include() directives present in the main
CTestTestfile.cmake, leading to no unit-tests being shown.
Additionally, the bracket arguments of CMake is not enabled for
parsing tests arguments.

This patch enables them, and follows include() directives.

Reviewers: apol, kfunk, mwolff
Reviewed By: mwolff
Subscribers: mwolff, kdevelop-devel
Tags: #kdevelop
Differential Revision: https://phabricator.kde.org/D19673

M  +11   -4    plugins/cmake/cmakeutils.cpp
M  +1    -0    plugins/cmake/parser/cmakelistsparser.cpp

https://invent.kde.org/kde/kdevelop/commit/d5e3e27bb2720d84adda95de07a728a9e61c866f

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to