Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: Tools/GardeningServer/ui/ct-results-detail.html

Issue 549313005: Link to stdio output for compile failures. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add isStdioStep function Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-results-detail.html
diff --git a/Tools/GardeningServer/ui/ct-results-detail.html b/Tools/GardeningServer/ui/ct-results-detail.html
index 1eef8a14105f66eef37959de6cf394bc4356c3b5..318c4f19914abc269a5b97195b12732aac731d8e 100644
--- a/Tools/GardeningServer/ui/ct-results-detail.html
+++ b/Tools/GardeningServer/ui/ct-results-detail.html
@@ -46,6 +46,10 @@ found in the LICENSE file.
builder: '_update',
},
+ _isStdioStep: function(result, step) {
ojan 2014/09/11 18:09:08 This is fine, especially since this code needs to
+ return result.actual == 'UNKNOWN' || step == 'compile';
+ },
+
_update: function() {
if (!this.failure || !this.builder)
return;
@@ -56,7 +60,7 @@ found in the LICENSE file.
var result = this.failure.resultNodesByBuilder[this.builder];
// FIXME: There's probably a less hacky way to check this.
- if (result.actual == 'FAIL' || result.actual == 'UNKNOWN')
+ if (result.actual == 'FAIL' || this._isStdioStep(result, this.failure.step))
this._updateUrls();
else
this._updateWebkitTestUrls();
@@ -94,7 +98,7 @@ found in the LICENSE file.
// FIXME: We only store build logs by the test name, not the testsuite.testname,
// which means that two failing tests from different test suites conflict!
- var testPart = result.actual == 'UNKNOWN' ? 'stdio' : this.failure.testName.split('.')[1];
+ var testPart = this._isStdioStep(result, this.failure.step) ? 'stdio' : this.failure.testName.split('.')[1];
var url = result.masterUrl +
'/builders/' + encodeURIComponent(this.builder) +
'/builds/' + result.lastFailingBuild +
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698