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

Side by Side Diff: tools/gardening/bin/current_summary.dart

Issue 2751543006: structure gardening tool (Closed)
Patch Set: oops Created 3 years, 9 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
« no previous file with comments | « tools/gardening/bin/compare_failures.dart ('k') | tools/gardening/bin/status_summary.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 /// Collects the test results for all build bots in [buildGroups] for tests 5 /// Collects the test results for all build bots in [buildGroups] for tests
6 /// that mention one of the test names given as argument. 6 /// that mention one of the test names given as argument.
7 /// 7 ///
8 /// The results are currently pulled from the second to last build since the 8 /// The results are currently pulled from the second to last build since the
9 /// last build might not have completed yet. 9 /// last build might not have completed yet.
10 10
11 import 'dart:math'; 11 import 'dart:math';
12 import 'dart:io'; 12 import 'dart:io';
13 import 'compare_failures.dart'; 13
14 import 'src/buildbot_data.dart'; 14 import 'package:gardening/src/buildbot_data.dart';
15 import 'src/buildbot_structures.dart'; 15 import 'package:gardening/src/buildbot_structures.dart';
16 import 'src/util.dart'; 16 import 'package:gardening/src/util.dart';
17 17
18 main(List<String> args) async { 18 main(List<String> args) async {
19 if (args.length == 0) { 19 if (args.length == 0) {
20 print('Usage: current_summary <test-name1> [<test-name2> ...]'); 20 print('Usage: current_summary <test-name1> [<test-name2> ...]');
21 exit(1); 21 exit(1);
22 } 22 }
23 int maxStatusWidth = 0; 23 int maxStatusWidth = 0;
24 int maxConfigWidth = 0; 24 int maxConfigWidth = 0;
25 25
26 HttpClient client = new HttpClient(); 26 HttpClient client = new HttpClient();
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 /// The result of a single test for a single test step. 67 /// The result of a single test for a single test step.
68 class TestStatus { 68 class TestStatus {
69 final TestConfiguration config; 69 final TestConfiguration config;
70 final String status; 70 final String status;
71 71
72 TestStatus(this.config, this.status); 72 TestStatus(this.config, this.status);
73 73
74 String toString() => '$config: $status'; 74 String toString() => '$config: $status';
75 } 75 }
OLDNEW
« no previous file with comments | « tools/gardening/bin/compare_failures.dart ('k') | tools/gardening/bin/status_summary.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698