forked from qt-creator/qt-creator
AutoTest: Add automatic run after build
Add an option to automatically run tests if the build succeeded and the current project has tests. Change-Id: I1fe028be84279b9b488f78590565c6d4b0449e34 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -76,6 +76,7 @@ signals:
|
||||
private:
|
||||
void buildProject(ProjectExplorer::Project *project);
|
||||
void buildFinished(bool success);
|
||||
void onBuildQueueFinished(bool success);
|
||||
void onFinished();
|
||||
|
||||
int precheckTestConfigurations();
|
||||
@@ -98,7 +99,7 @@ private:
|
||||
TestConfiguration *m_currentConfig = nullptr;
|
||||
QProcess *m_currentProcess = nullptr;
|
||||
TestOutputReader *m_currentOutputReader = nullptr;
|
||||
TestRunMode m_runMode = TestRunMode::Run;
|
||||
TestRunMode m_runMode = TestRunMode::None;
|
||||
|
||||
// temporarily used if building before running is necessary
|
||||
QMetaObject::Connection m_buildConnect;
|
||||
|
||||
Reference in New Issue
Block a user