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

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) ...@@ -172,6 +172,7 @@ void TestConfiguration::completeTestInformation(int runMode)
env = stdRunnable.environment; env = stdRunnable.environment;
hasDesktopTarget = true; hasDesktopTarget = true;
guessedRunConfiguration = true; guessedRunConfiguration = true;
runConfigTarget = rc->target();
} }
} }
} }
...@@ -186,7 +187,7 @@ void TestConfiguration::completeTestInformation(int runMode) ...@@ -186,7 +187,7 @@ void TestConfiguration::completeTestInformation(int runMode)
setEnvironment(env); setEnvironment(env);
setProject(project); setProject(project);
setGuessedConfiguration(guessedRunConfiguration); setGuessedConfiguration(guessedRunConfiguration);
if (!guessedRunConfiguration && runMode == TestRunner::Debug) if (runMode == TestRunner::Debug)
m_runConfig = new TestRunConfiguration(runConfigTarget, this); m_runConfig = new TestRunConfiguration(runConfigTarget, this);
} }
} }
......
Supports Markdown
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