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:
@@ -69,6 +69,7 @@ void TestSettingsWidget::setSettings(const TestSettings &settings)
|
||||
m_ui.openResultsOnStartCB->setChecked(settings.popupOnStart);
|
||||
m_ui.openResultsOnFinishCB->setChecked(settings.popupOnFinish);
|
||||
m_ui.openResultsOnFailCB->setChecked(settings.popupOnFail);
|
||||
m_ui.runAfterBuildCB->setChecked(settings.runAfterBuild);
|
||||
populateFrameworksListWidget(settings.frameworks);
|
||||
}
|
||||
|
||||
@@ -85,6 +86,7 @@ TestSettings TestSettingsWidget::settings() const
|
||||
result.popupOnStart = m_ui.openResultsOnStartCB->isChecked();
|
||||
result.popupOnFinish = m_ui.openResultsOnFinishCB->isChecked();
|
||||
result.popupOnFail = m_ui.openResultsOnFailCB->isChecked();
|
||||
result.runAfterBuild = m_ui.runAfterBuildCB->isChecked();
|
||||
frameworkSettings(result);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user