Skip to content
Snippets Groups Projects
Commit 013ab294 authored by Christian Stenger's avatar Christian Stenger
Browse files

AutoTest: Fix retrieving metrics information


Change-Id: Ic0a1e1fbf8db613d0d6b20532a3ef404f625e7b1
Reviewed-by: default avatarDavid Schulz <david.schulz@qt.io>
parent a47ad71b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment