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

Side by Side Diff: tools/gardening/bin/status_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/current_summary.dart ('k') | tools/gardening/lib/compare_failures.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 configurations for all status files in the 'tests' folder that 5 /// Collects the configurations for all status files in the 'tests' folder that
6 /// mention one of the test names given as argument. 6 /// mention one of the test names given as argument.
7 7
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:math' hide log; 9 import 'dart:math' hide log;
10 import 'dart:io'; 10 import 'dart:io';
11 11
12 import 'src/util.dart'; 12 import 'package:gardening/src/util.dart';
13 13
14 main(List<String> args) async { 14 main(List<String> args) async {
15 if (args.length == 0) { 15 if (args.length == 0) {
16 print('Usage: status_summary <test-name1> [<test-name2> ...]'); 16 print('Usage: status_summary <test-name1> [<test-name2> ...]');
17 exit(1); 17 exit(1);
18 } 18 }
19 int maxStatusWidth = 0; 19 int maxStatusWidth = 0;
20 int maxConfigWidth = 0; 20 int maxConfigWidth = 0;
21 21
22 List<Uri> statusFiles = await findStatusFiles('tests'); 22 List<Uri> statusFiles = await findStatusFiles('tests');
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 /// The status of the entry, e.g. `Pass, Slow`. 102 /// The status of the entry, e.g. `Pass, Slow`.
103 final String status; 103 final String status;
104 104
105 /// The comment after the status, if any. 105 /// The comment after the status, if any.
106 final String comment; 106 final String comment;
107 107
108 StatusEntry(this.config, this.status, this.comment); 108 StatusEntry(this.config, this.status, this.comment);
109 109
110 String toString() => '$status $config $comment'; 110 String toString() => '$status $config $comment';
111 } 111 }
OLDNEW
« no previous file with comments | « tools/gardening/bin/current_summary.dart ('k') | tools/gardening/lib/compare_failures.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698