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

Side by Side Diff: dart/tools/testing/dart/test_progress.dart

Issue 143453012: Added tools/status_clean.dart script (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test_progress; 5 library test_progress;
6 6
7 import "dart:async"; 7 import "dart:async";
8 import "dart:io"; 8 import "dart:io";
9 import "dart:io" as io; 9 import "dart:io" as io;
10 import "dart:convert" show JSON; 10 import "dart:convert" show JSON;
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 * duration: 200.2, 217 * duration: 200.2,
218 * }, 218 * },
219 * ], 219 * ],
220 * } 220 * }
221 * }, 221 * },
222 */ 222 */
223 223
224 static final INTERESTED_CONFIGURATION_PARAMETERS = 224 static final INTERESTED_CONFIGURATION_PARAMETERS =
225 ['mode', 'arch', 'compiler', 'runtime', 'checked', 'host_checked', 225 ['mode', 'arch', 'compiler', 'runtime', 'checked', 'host_checked',
226 'minified', 'csp', 'system', 'vm_options', 'use_sdk', 226 'minified', 'csp', 'system', 'vm_options', 'use_sdk',
227 'use_repository_packages', 'use_public_packages']; 227 'use_repository_packages', 'use_public_packages', 'builder_tag'];
228 228
229 IOSink _sink; 229 IOSink _sink;
230 230
231 void done(TestCase test) { 231 void done(TestCase test) {
232 var name = test.displayName; 232 var name = test.displayName;
233 var configuration = {}; 233 var configuration = {};
234 for (var key in INTERESTED_CONFIGURATION_PARAMETERS) { 234 for (var key in INTERESTED_CONFIGURATION_PARAMETERS) {
235 configuration[key] = test.configuration[key]; 235 configuration[key] = test.configuration[key];
236 } 236 }
237 var outcome = '${test.lastCommandOutput.result(test)}'; 237 var outcome = '${test.lastCommandOutput.result(test)}';
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 return new VerboseProgressIndicator(startTime); 658 return new VerboseProgressIndicator(startTime);
659 case 'status': 659 case 'status':
660 return new ProgressIndicator(startTime); 660 return new ProgressIndicator(startTime);
661 case 'buildbot': 661 case 'buildbot':
662 return new BuildbotProgressIndicator(startTime); 662 return new BuildbotProgressIndicator(startTime);
663 default: 663 default:
664 assert(false); 664 assert(false);
665 break; 665 break;
666 } 666 }
667 } 667 }
OLDNEW
« no previous file with comments | « dart/tools/testing/dart/status_file_parser.dart ('k') | dart/tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698