D9919: Fix and improve CMake test finding and running

Miha Čančula noreply at phabricator.kde.org
Tue Jan 16 21:36:53 UTC 2018


mihac updated this revision to Diff 25507.
mihac added a comment.


  Look for test class at different positions in QTEST_MAIN
  
        
  
  We now look for a test class declarations at multiple positions inside
   QTEST_MAIN or QTEST_GUILESS_MAIN. This way, we find test cases for the
   entire KDevelop test suite, while without this change invocations with
   the format of QTEST_MAIN(KDevelop::Something) were missed.

REPOSITORY
  R32 KDevelop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D9919?vs=25497&id=25507

BRANCH
  arcpatch-D9919

REVISION DETAIL
  https://phabricator.kde.org/D9919

AFFECTED FILES
  plugins/cmake/cmakeprojectdata.h
  plugins/cmake/cmakeserverimportjob.cpp
  plugins/cmake/testing/ctestfindjob.cpp
  plugins/cmake/testing/ctestrunjob.cpp
  plugins/cmake/testing/ctestrunjob.h
  plugins/cmake/testing/ctestsuite.cpp
  plugins/cmake/testing/ctestutils.cpp
  plugins/cmake/tests/test_ctestfindsuites.cpp
  plugins/cmake/tests/test_ctestfindsuites.h

To: mihac, #kdevelop, apol
Cc: apol, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180116/8eaad81c/attachment.html>


More information about the KDevelop-devel mailing list