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

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

Issue 12902035: Added --failure-summary option to test.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « tools/test.dart ('k') | tools/testing/dart/test_progress.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) 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_options_parser; 5 library test_options_parser;
6 6
7 import "dart:io"; 7 import "dart:io";
8 import "dart:math"; 8 import "dart:math";
9 import "drt_updater.dart"; 9 import "drt_updater.dart";
10 import "test_suite.dart"; 10 import "test_suite.dart";
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 -1, 155 -1,
156 'int'), 156 'int'),
157 new _TestOptionSpecification( 157 new _TestOptionSpecification(
158 'progress', 158 'progress',
159 'Progress indication mode', 159 'Progress indication mode',
160 ['-p', '--progress'], 160 ['-p', '--progress'],
161 ['compact', 'color', 'line', 'verbose', 161 ['compact', 'color', 'line', 'verbose',
162 'silent', 'status', 'buildbot', 'diff'], 162 'silent', 'status', 'buildbot', 'diff'],
163 'compact'), 163 'compact'),
164 new _TestOptionSpecification( 164 new _TestOptionSpecification(
165 'failure-summary',
166 'Print failure summary at the end',
167 ['--failure-summary'],
168 [],
169 false,
170 'bool'),
171 new _TestOptionSpecification(
165 'step_name', 172 'step_name',
166 'Step name for use by -pbuildbot', 173 'Step name for use by -pbuildbot',
167 ['--step_name'], 174 ['--step_name'],
168 [], 175 [],
169 null), 176 null),
170 new _TestOptionSpecification( 177 new _TestOptionSpecification(
171 'report', 178 'report',
172 'Print a summary report of the number of tests, by expectation', 179 'Print a summary report of the number of tests, by expectation',
173 ['--report'], 180 ['--report'],
174 [], 181 [],
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 return option; 698 return option;
692 } 699 }
693 } 700 }
694 print('Unknown test option $name'); 701 print('Unknown test option $name');
695 exit(1); 702 exit(1);
696 } 703 }
697 704
698 705
699 List<_TestOptionSpecification> _options; 706 List<_TestOptionSpecification> _options;
700 } 707 }
OLDNEW
« no previous file with comments | « tools/test.dart ('k') | tools/testing/dart/test_progress.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698