Changeset 162191 in webkit
- Timestamp:
- Jan 16, 2014, 11:59:58 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js
r161363 r162191 102 102 }, 103 103 104 layoutTestCrashLog ForIteration: function(iteration, testPath)104 layoutTestCrashLogURLForIteration: function(iteration, testPath) 105 105 { 106 106 var crashLogPath = testPath.replace(/^(.*)\.(?:.*)$/, "$1-crash-log.txt"); 107 107 return this.layoutTestResultsDirectoryURLForIteration(iteration) + "/" + crashLogPath; 108 }, 109 110 layoutTestStderrURLForIteration: function(iteration, testPath) 111 { 112 var crashLogPath = testPath.replace(/^(.*)\.(?:.*)$/, "$1-stderr.txt"); 113 return this.layoutTestResultsDirectoryURLForIteration(iteration) + "/" + crashLogPath; 108 114 } 109 115 }; -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js
r161440 r162191 279 279 if (value.actual.contains("TIMEOUT")) 280 280 item.timeout = true; 281 if (value.has_stderr) 282 item.has_stderr = true; 281 283 result.push(item); 282 284 } -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js
r161454 r162191 168 168 failureKindElement.className = "failure-kind-indicator" 169 169 failureKindElement.textContent = "crash"; 170 failureKindElement.href = iteration.queue.buildbot.layoutTestCrashLog ForIteration(iteration, test.path);170 failureKindElement.href = iteration.queue.buildbot.layoutTestCrashLogURLForIteration(iteration, test.path); 171 171 failureKindElement.target = "_blank"; 172 172 rowElement.appendChild(failureKindElement); … … 178 178 failureKindElement.textContent = "timeout"; 179 179 rowElement.appendChild(failureKindElement); 180 } 181 182 if (test.has_stderr) { 183 var stderrElement = document.createElement("a"); 184 stderrElement.className = "additional-link" 185 stderrElement.textContent = "stderr"; 186 stderrElement.href = iteration.queue.buildbot.layoutTestStderrURLForIteration(iteration, test.path); 187 stderrElement.target = "_blank"; 188 rowElement.appendChild(stderrElement); 180 189 } 181 190 -
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/QueueView.css
r161454 r162191 123 123 padding: 0px 0px 0px 7px; 124 124 } 125 126 .test-results-popover .additional-link { 127 color: rgb(145, 135, 95); 128 padding: 0px 0px 0px 7px; 129 } -
trunk/Tools/ChangeLog
r162183 r162191 1 2014-01-16 Alexey Proskuryakov <ap@apple.com> 2 3 Test results popovers at http://build.webkit.org/dashboard should link to stderr 4 https://bugs.webkit.org/show_bug.cgi?id=126929 5 6 Reviewed by Timothy Hatcher. 7 8 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js: 9 (Buildbot.prototype.layoutTestCrashLogURLForIteration): Renamed for consistency. 10 (Buildbot.prototype.layoutTestStderrURLForIteration): Added. 11 12 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js: 13 (BuildbotIteration.prototype.loadLayoutTestResults): Store has_stderr attribute. 14 15 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js: 16 (BuildbotTesterQueueView.prototype._popoverContentForLayoutTestRegressions): 17 Add a link to stderr output if present. 18 19 * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/QueueView.css: 20 (.test-results-popover .additional-link): Style with light grey (will use the same style 21 for diff links). 22 1 23 2014-01-16 Ryosuke Niwa <rniwa@webkit.org> 2 24
Note:
See TracChangeset
for help on using the changeset viewer.