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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <script> 7 <script>
8 function CTFailure(step, reason, resultsByBuilder, firstFailingRevisions, lastPa ssingRevisions) { 8 function CTFailure(step, reason, resultsByBuilder, firstFailingRevisions, lastPa ssingRevisions) {
9 this.step = step; 9 this.step = step;
10 // FIXME: Rename this to reason. 10 // FIXME: Rename this to reason.
11 this.testName = reason; 11 this.testName = reason;
12 this.resultNodesByBuilder = resultsByBuilder; 12 this.resultNodesByBuilder = resultsByBuilder;
13 // FIXME: Move these up one layer to the groupedFailures object. 13 // FIXME: Move these up one layer to the groupedFailures object.
14 this.firstFailingRevisions = firstFailingRevisions; 14 this.firstFailingRevisions = firstFailingRevisions;
15 this.lastPassingRevisions = lastPassingRevisions; 15 this.lastPassingRevisions = lastPassingRevisions;
16 } 16 }
17
18 CTFailure.prototype.reasonGroupName = function() {
19 if (!this.testName)
20 return undefined;
21 if (this.step == 'webkit_tests')
22 return this.testName.substr(0, this.testName.lastIndexOf('/'));
23 return this.testName.substr(0, this.testName.lastIndexOf('.'));
24 };
17 </script> 25 </script>
OLDNEW
« 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