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

Side by Side Diff: Tools/GardeningServer/scripts/results.js

Issue 409063002: Simplify failing builder lists. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: make resultTypes private Created 6 years, 5 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 (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 return suffixList.unique(); 129 return suffixList.unique();
130 } 130 }
131 131
132 function failureTypeList(failureBlob) 132 function failureTypeList(failureBlob)
133 { 133 {
134 return failureBlob.split(' '); 134 return failureBlob.split(' ');
135 }; 135 };
136 136
137 function resultsDirectoryURL(builderName) 137 function resultsDirectoryURL(builderName)
138 { 138 {
139 return config.layoutTestResultsURL + '/' + builderName.replace(/[ .()]/g, '_ ') + '/results/layout-test-results/'; 139 return 'https://storage.googleapis.com/chromium-layout-test-archives/' +
140 builderName.replace(/[ .()]/g, '_') + '/results/layout-test-results/';
140 } 141 }
141 142
142 results.failureInfo = function(testName, builderName, result) 143 results.failureInfo = function(testName, builderName, result)
143 { 144 {
144 return { 145 return {
145 'testName': testName, 146 'testName': testName,
146 'builderName': builderName, 147 'builderName': builderName,
147 'failureTypeList': failureTypeList(result), 148 'failureTypeList': failureTypeList(result),
148 }; 149 };
149 } 150 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 resultURLs.push(url); 207 resultURLs.push(url);
207 }, 208 },
208 function() {})); 209 function() {}));
209 }); 210 });
210 return Promise.all(probePromises).then(function() { 211 return Promise.all(probePromises).then(function() {
211 return sortResultURLsBySuffix(resultURLs); 212 return sortResultURLsBySuffix(resultURLs);
212 }); 213 });
213 }; 214 };
214 215
215 })(); 216 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698