AutoTest: Use better names and remove unused code

Change-Id: Ifb7f252e7c3fd020537eb46c62d8f5700b8a55ef
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2017-02-21 14:53:58 +01:00
parent 721c902cd8
commit 74fb4bb014
7 changed files with 44 additions and 57 deletions

View File

@@ -134,7 +134,7 @@ static void performTestRun(QFutureInterface<TestResultPtr> &futureInterface,
if (commandFilePath.isEmpty()) {
futureInterface.reportResult(TestResultPtr(new FaultyTestResult(Result::MessageFatal,
TestRunner::tr("Could not find command \"%1\". (%2)")
.arg(testConfiguration->targetFile())
.arg(testConfiguration->executableFilePath())
.arg(testConfiguration->displayName()))));
continue;
}
@@ -294,7 +294,7 @@ void TestRunner::debugTests()
if (commandFilePath.isEmpty()) {
emit testResultReady(TestResultPtr(new FaultyTestResult(Result::MessageFatal,
TestRunner::tr("Could not find command \"%1\". (%2)")
.arg(config->targetFile())
.arg(config->executableFilePath())
.arg(config->displayName()))));
onFinished();
return;