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

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

Issue 23694024: Remove the duplicate 'layout-test-results' path from the archived results. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge to HEAD Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Tools/Scripts/webkitpy/common/config/urls.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 results.directoryForBuilder = function(builderName) 183 results.directoryForBuilder = function(builderName)
184 { 184 {
185 return config.kPlatforms[config.currentPlatform].resultsDirectoryNameFromBui lderName(builderName); 185 return config.kPlatforms[config.currentPlatform].resultsDirectoryNameFromBui lderName(builderName);
186 } 186 }
187 187
188 function resultsDirectoryURL(platform, builderName) 188 function resultsDirectoryURL(platform, builderName)
189 { 189 {
190 if (config.useLocalResults) 190 if (config.useLocalResults)
191 return '/localresult?path='; 191 return '/localresult?path=';
192 // FIXME: The duplicate "layout-test-results" is due to crbug.com/285572. 192 return resultsDirectoryListingURL(platform, builderName) + 'results/layout-t est-results/';
193 return resultsDirectoryListingURL(platform, builderName) + 'results/layout-t est-results/layout-test-results/';
194 } 193 }
195 194
196 function resultsDirectoryListingURL(platform, builderName) 195 function resultsDirectoryListingURL(platform, builderName)
197 { 196 {
198 return layoutTestResultsURL(platform) + '/' + results.directoryForBuilder(bu ilderName) + '/'; 197 return layoutTestResultsURL(platform) + '/' + results.directoryForBuilder(bu ilderName) + '/';
199 } 198 }
200 199
201 function resultsDirectoryURLForBuildNumber(platform, builderName, buildNumber) 200 function resultsDirectoryURLForBuildNumber(platform, builderName, buildNumber)
202 { 201 {
203 return resultsDirectoryListingURL(platform, builderName) + buildNumber + '/' ; 202 return resultsDirectoryListingURL(platform, builderName) + buildNumber + '/' ;
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 $.each(builderNameList, function(index, builderName) { 541 $.each(builderNameList, function(index, builderName) {
543 var resultsURL = resultsSummaryURL(config.currentPlatform, builderName); 542 var resultsURL = resultsSummaryURL(config.currentPlatform, builderName);
544 net.jsonp(resultsURL, function(resultsTree) { 543 net.jsonp(resultsURL, function(resultsTree) {
545 resultsByBuilder[builderName] = resultsTree; 544 resultsByBuilder[builderName] = resultsTree;
546 tracker.requestComplete(); 545 tracker.requestComplete();
547 }); 546 });
548 }); 547 });
549 }; 548 };
550 549
551 })(); 550 })();
OLDNEW
« no previous file with comments | « no previous file | Tools/Scripts/webkitpy/common/config/urls.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698