<table><tr><td style="">tnorth created this revision.<br />tnorth added reviewers: apol, kfunk.<br />Herald added a project: KDevelop.<br />Herald added a subscriber: kdevelop-devel.<br />tnorth requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19673">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>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.<br />
Additionally, the bracket arguments of CMake is not enabled for parsing tests arguments.</p>
<p>This patch enables them, and follows include() directives.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19673">https://phabricator.kde.org/D19673</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/cmake/cmakeutils.cpp<br />
plugins/cmake/cmakeutils.h<br />
plugins/cmake/parser/cmakelistsparser.cpp</div></div></div><br /><div><strong>To: </strong>tnorth, apol, kfunk<br /><strong>Cc: </strong>kdevelop-devel, gennad, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>