Commit 013ab294 authored by Christian Stenger's avatar Christian Stenger

AutoTest: Fix retrieving metrics information

Change-Id: Ic0a1e1fbf8db613d0d6b20532a3ef404f625e7b1
Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
parent a47ad71b
......@@ -195,7 +195,7 @@ void QtTestOutputReader::processOutput()
m_lineNumber = attributes.value(QStringLiteral("line")).toInt();
} else if (currentTag == QStringLiteral("BenchmarkResult")) {
const QXmlStreamAttributes &attributes = m_xmlReader.attributes();
const QString metric = attributes.value(QStringLiteral("metrics")).toString();
const QString metric = attributes.value(QStringLiteral("metric")).toString();
const double value = attributes.value(QStringLiteral("value")).toDouble();
const int iterations = attributes.value(QStringLiteral("iterations")).toInt();
m_description = constructBenchmarkInformation(metric, value, iterations);
......
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