AutoTest: Count blacklisted tests correctly

Amends 0af0f58a60.

Change-Id: I646b98fda5d1292a46a85e11a09506875e8a1606
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
Christian Stenger
2019-02-05 14:06:07 +01:00
parent 9e8ae42343
commit 113260c8d0

View File

@@ -471,7 +471,9 @@ void TestResultsPane::updateSummaryLabel()
if (count)
labelText += ", " + QString::number(count) + ' ' + tr("fatals");
count = m_model->resultTypeCount(Result::BlacklistedFail)
+ m_model->resultTypeCount(Result::BlacklistedPass);
+ m_model->resultTypeCount(Result::BlacklistedXFail)
+ m_model->resultTypeCount(Result::BlacklistedPass)
+ m_model->resultTypeCount(Result::BlacklistedXPass);
if (count)
labelText += ", " + QString::number(count) + ' ' + tr("blacklisted");
count = m_model->resultTypeCount(Result::Skip);