AutoTest: Fix ordering of Qt results

Fixes placing of internal messages like Qt version
information or Qt Test version

Change-Id: I08330451684c2dccb5f260cf7a4751bba47e56a8
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Christian Stenger
2023-02-20 12:27:22 +01:00
parent 70369aca13
commit 2ca1a15ead

View File

@@ -177,6 +177,8 @@ static ResultHooks::DirectParentHook directParentHook(const QString &functionNam
return (functionName.isEmpty() && dataTag.isEmpty()) return (functionName.isEmpty() && dataTag.isEmpty())
|| (functionName == otherData.m_function || (functionName == otherData.m_function
&& other.result() != ResultType::TestStart); && other.result() != ResultType::TestStart);
} else if (other.result() == ResultType::MessageInternal) {
return other.name() == result.name();
} }
} }
return false; return false;