CMakePM: Start integrating ctest

Gather some more information of a CMake based project to be
able to provide this later on to the AutoTest plugin.

Task-number: QTCREATORBUG-23332
Change-Id: I2beaf0a6456d57871dcf65832f0a79f37fe5fddc
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2020-09-28 15:10:04 +02:00
parent c44e13a3f8
commit 617a8aee2b
10 changed files with 102 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ public:
void processStandardOutput();
void processStandardError();
int lastExitCode() const { return m_lastExitCode; }
signals:
void started();
void finished(int exitCode, QProcess::ExitStatus exitStatus);
@@ -76,6 +77,7 @@ private:
bool m_processWasCanceled = false;
QTimer m_cancelTimer;
QElapsedTimer m_elapsed;
int m_lastExitCode = 0;
};
} // namespace Internal