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

Unified Diff: Tools/GardeningServer/model/ct-failure.html

Issue 458473003: Group similar failures (same directory, same fixture) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 6 years, 4 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
Index: Tools/GardeningServer/model/ct-failure.html
diff --git a/Tools/GardeningServer/model/ct-failure.html b/Tools/GardeningServer/model/ct-failure.html
index d007fe1d6b0f90650dbacddc8380d640e4a52140..63dc93a418e2e498ddc08e1280976ecf7f347d2a 100644
--- a/Tools/GardeningServer/model/ct-failure.html
+++ b/Tools/GardeningServer/model/ct-failure.html
@@ -14,4 +14,12 @@ function CTFailure(step, reason, resultsByBuilder, firstFailingRevisions, lastPa
this.firstFailingRevisions = firstFailingRevisions;
this.lastPassingRevisions = lastPassingRevisions;
}
+
+CTFailure.prototype.reasonGroupName = function() {
+ if (!this.testName)
+ return undefined;
+ if (this.step == 'webkit_tests')
+ return this.testName.substr(0, this.testName.lastIndexOf('/'));
+ return this.testName.substr(0, this.testName.lastIndexOf('.'));
+};
</script>
« no previous file with comments | « no previous file | Tools/GardeningServer/model/ct-failure-tests.html » ('j') | Tools/GardeningServer/ui/ct-test-list.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698