forked from qt-creator/qt-creator
AutoTest: Provide more details on failure or guess
If a test case cannot be started or does crash while executing these information might help to sort out configuration problems. Change-Id: I406d5e69475d05931d4c4c4738f8528c6d74c585 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -130,6 +130,7 @@ void TestConfiguration::completeTestInformation(int runMode)
|
||||
m_executableFile = exeString;
|
||||
m_project = project;
|
||||
m_guessedConfiguration = true;
|
||||
m_guessedFrom = rc->displayName();
|
||||
if (runMode == TestRunner::Debug)
|
||||
m_runConfig = new TestRunConfiguration(rc->target(), this);
|
||||
}
|
||||
@@ -203,11 +204,6 @@ void TestConfiguration::setProject(Project *project)
|
||||
m_project = project;
|
||||
}
|
||||
|
||||
void TestConfiguration::setGuessedConfiguration(bool guessed)
|
||||
{
|
||||
m_guessedConfiguration = guessed;
|
||||
}
|
||||
|
||||
QString TestConfiguration::executableFilePath() const
|
||||
{
|
||||
if (m_executableFile.isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user