Commit 3ecbce9b authored by David Schulz's avatar David Schulz

AutoTest: Allow guessing configuration for debugging

Guess the config if no matching run target was found.

Change-Id: If70881cd64ab6523bbca13b1c8c18d63e9fcdeb7
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent 5fcf0a9e
......@@ -172,6 +172,7 @@ void TestConfiguration::completeTestInformation(int runMode)
env = stdRunnable.environment;
hasDesktopTarget = true;
guessedRunConfiguration = true;
runConfigTarget = rc->target();
}
}
}
......@@ -186,7 +187,7 @@ void TestConfiguration::completeTestInformation(int runMode)
setEnvironment(env);
setProject(project);
setGuessedConfiguration(guessedRunConfiguration);
if (!guessedRunConfiguration && runMode == TestRunner::Debug)
if (runMode == TestRunner::Debug)
m_runConfig = new TestRunConfiguration(runConfigTarget, this);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment