diff options
author | aavit <qt-info@nokia.com> | 2010-11-05 14:33:41 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2010-11-05 14:33:41 (GMT) |
commit | 111270e240320831038a47f7f0848a4f429d25d7 (patch) | |
tree | cde116e26d097072c7743949ffc2fd50bfb73bad /tests/arthur/baselineserver/src/htmlpage.cpp | |
parent | a84181407f51cc855a6ddb2033a7aa6738354602 (diff) | |
download | Qt-111270e240320831038a47f7f0848a4f429d25d7.zip Qt-111270e240320831038a47f7f0848a4f429d25d7.tar.gz Qt-111270e240320831038a47f7f0848a4f429d25d7.tar.bz2 |
Add even more platform info, and make it expandable.
Diffstat (limited to 'tests/arthur/baselineserver/src/htmlpage.cpp')
-rw-r--r-- | tests/arthur/baselineserver/src/htmlpage.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/arthur/baselineserver/src/htmlpage.cpp b/tests/arthur/baselineserver/src/htmlpage.cpp index 00d07f1..ad7f8b7 100644 --- a/tests/arthur/baselineserver/src/htmlpage.cpp +++ b/tests/arthur/baselineserver/src/htmlpage.cpp @@ -89,9 +89,12 @@ void HTMLPage::writeHeader(const ImageItem &item) out.setDevice(&file); out << "<html><body><h1>Lancelot results from run " << id << "</h1>\n\n"; - out << "<h3>Host: " << plat.hostName << " [" << address << "] OS: " << plat.osName << " [enum: " << plat.osVersion << "]</h3>\n"; - out << "<h3>Qt version: " << plat.qtVersion << " [commit: " << plat.gitCommit << "] Build key: \"" << plat.buildKey << "\"</h3>\n"; - out << "<h3>Engine: " << item.engineAsString() << " Format: " << item.formatAsString() << "</h3>\n\n"; + out << "<h3>Platform Info:</h3>\n"; + out << "<table>\n"; + foreach (QString key, plat.keys()) + out << "<tr><td>" << key << "</td><td>" << plat.value(key) << "</td></tr>\n"; + out << "</table>\n"; + #if 0 out << "<h3><a href=\"/cgi-bin/server.cgi?cmd=updateAllBaselines&id="<< id << "&host=" << plat.hostName << "&engine=" << item.engineAsString() << "&format=" << item.formatAsString() @@ -161,7 +164,7 @@ void HTMLPage::end() if (imageItems.at(i).status == ImageItem::IgnoreItem) { out << "<span style=\"background-color:yellow\">Blacklisted</span><br>" "<a href=\"/cgi-bin/server.cgi?cmd=whitelist&scriptName=" - << imageItems.at(i).scriptName << "&host=" << plat.hostName + << imageItems.at(i).scriptName << "&host=" << plat.value(PI_HostName) << "&engine=" << imageItems.at(i).engineAsString() << "&format=" << imageItems.at(i).formatAsString() << "&url=" << pageUrl |