Commit 7c6c8084 authored by Christian Stenger's avatar Christian Stenger

AutoTest: Fix condition for finish message

Slipped in with cc8bff67.

Change-Id: I02968395cf3ac5671326d874e5c58fef944225a9
Reviewed-by: David Schulz's avatarDavid Schulz <>
parent 608b1572
......@@ -456,7 +456,7 @@ void QtTestOutputReader::sendFinishMessage(bool isFunction)
TestResultPtr testResult = TestResultPtr(createDefaultResult());
if (m_duration.isEmpty()) {
if (!m_duration.isEmpty()) {
testResult->setDescription(isFunction ? tr("Execution took %1 ms.").arg(m_duration)
: tr("Test execution took %1 ms.").arg(m_duration));
} else {
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