forked from qt-creator/qt-creator
AutoTest: Allow run/debug without deployment
Task-number: QTCREATORBUG-16486 Change-Id: I7ef5887e065830152744a9bd7d7727058b4521d9 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -256,7 +256,8 @@ void TestRunner::prepareToRunTests(Mode mode)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!projectExplorerSettings.buildBeforeDeploy) {
|
||||
if (!projectExplorerSettings.buildBeforeDeploy || mode == TestRunner::DebugWithoutDeploy
|
||||
|| mode == TestRunner::RunWithoutDeploy) {
|
||||
runOrDebugTests();
|
||||
} else {
|
||||
if (project->hasActiveBuildSettings()) {
|
||||
@@ -332,9 +333,11 @@ void TestRunner::runOrDebugTests()
|
||||
{
|
||||
switch (m_runMode) {
|
||||
case Run:
|
||||
case RunWithoutDeploy:
|
||||
runTests();
|
||||
break;
|
||||
case Debug:
|
||||
case DebugWithoutDeploy:
|
||||
debugTests();
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user