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

            Bug ID: 377679
           Summary: CMake server project manager does not import test
                    suites
           Product: kdevelop
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Build tools: CMake
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: kde...@posteo.de
  Target Milestone: ---

The new CMake server project manager does not attempt to import any test
suites. Having a recent CMake and KDevelop master installed, the Unit tests
view is always empty.

Steps to reproduce:
1. Launch KDevelop master (commit 752167bb480eb51ede6d664d235ce6aee5c5d74b or
later)
2. Import kdevelop.git
3. Check the Unit tests view

4. Force KDevelop to use the legacy CMake project manager, e.g. by modifying
ChooseCMakeInterfaceJob::start() to call
ChooseCMakeInterfaceJob::failedConnection(int) directly
5. Check the Unit tests view again

In step 3, you'll find the view empty. In step 5, you'll find the view properly
populated.

I couldn't find any code path that utilizes the CMake project manager and looks
for test suites. In the legacy project manager, this was done in what is now
called CMakeImportJsonJob:

CMakeImportJsonJob::start()
-> CMakeImportJsonJob::import(...)
-> CMakeImportJsonJob::importTestSuites(...)
-> and so on

That's why I said "doesn't even attempt to import".

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

Reply via email to