forked from qt-creator/qt-creator
CMakeBuildSystem: Run ctest process asynchronously in main thread
Instead of running it in other thread using blocking interface.
Amends 675a72e296
Change-Id: Ia4c7701fa4cd9efea4aeccd979dfb8cde28a889e
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <projectexplorer/buildsystem.h>
|
||||
|
||||
#include <utils/fileutils.h>
|
||||
#include <utils/futuresynchronizer.h>
|
||||
#include <utils/temporarydirectory.h>
|
||||
|
||||
namespace CppEditor { class CppProjectUpdater; }
|
||||
@@ -19,6 +18,7 @@ namespace ProjectExplorer {
|
||||
class ExtraCompiler;
|
||||
class FolderNode;
|
||||
}
|
||||
namespace Utils { class QtcProcess; }
|
||||
|
||||
namespace CMakeProjectManager {
|
||||
|
||||
@@ -206,8 +206,8 @@ private:
|
||||
|
||||
// CTest integration
|
||||
Utils::FilePath m_ctestPath;
|
||||
std::unique_ptr<Utils::QtcProcess> m_ctestProcess;
|
||||
QList<ProjectExplorer::TestCaseInfo> m_testNames;
|
||||
Utils::FutureSynchronizer m_futureSynchronizer;
|
||||
|
||||
CMakeConfig m_configurationFromCMake;
|
||||
CMakeConfig m_configurationChanges;
|
||||
|
||||
Reference in New Issue
Block a user