diff options
Diffstat (limited to 'src/plugins/autotest/qtest/qttestresult.cpp')
-rw-r--r-- | src/plugins/autotest/qtest/qttestresult.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/autotest/qtest/qttestresult.cpp b/src/plugins/autotest/qtest/qttestresult.cpp index 3e85c36e68..65ec0c8270 100644 --- a/src/plugins/autotest/qtest/qttestresult.cpp +++ b/src/plugins/autotest/qtest/qttestresult.cpp @@ -95,7 +95,8 @@ bool QtTestResult::isDirectParentOf(const TestResult *other, bool *needsIntermed return qtOther->m_dataTag == m_dataTag; } } else if (qtOther->isTestFunction()) { - return isTestCase() || m_function == qtOther->m_function; + return isTestCase() || (m_function == qtOther->m_function + && qtOther->result() != ResultType::TestStart); } } return false; |