diff options
author | Christian Stenger <[email protected]> | 2017-04-03 09:17:58 +0200 |
---|---|---|
committer | Christian Stenger <[email protected]> | 2017-04-12 11:57:36 +0000 |
commit | f173dc82df9cfded5a2d8e9a8133e9d30a7736a4 (patch) | |
tree | 7697877f0e9541225ae197466998361ee22b838d /src/plugins/autotest/testconfiguration.cpp | |
parent | 750f25d9e69068b3ca67a5ba8df180d84ce679da (diff) |
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 <[email protected]>
Diffstat (limited to 'src/plugins/autotest/testconfiguration.cpp')
-rw-r--r-- | src/plugins/autotest/testconfiguration.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/autotest/testconfiguration.cpp b/src/plugins/autotest/testconfiguration.cpp index 9ecd8d97adf..880c42457aa 100644 --- a/src/plugins/autotest/testconfiguration.cpp +++ b/src/plugins/autotest/testconfiguration.cpp @@ -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()) |