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

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

Issue 9053009: Add --list option to tools/test.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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-runtime.dart ('k') | tools/testing/dart/test_runner.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 List<String> defaultTestSelectors = 7 List<String> defaultTestSelectors =
8 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', 8 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language',
9 'isolate', 'stub-generator', 'vm']; 9 'isolate', 'stub-generator', 'vm'];
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 false, 118 false,
119 'bool'), 119 'bool'),
120 new _TestOptionSpecification( 120 new _TestOptionSpecification(
121 'verbose', 121 'verbose',
122 'Verbose output', 122 'Verbose output',
123 ['-v', '--verbose'], 123 ['-v', '--verbose'],
124 [], 124 [],
125 false, 125 false,
126 'bool'), 126 'bool'),
127 new _TestOptionSpecification( 127 new _TestOptionSpecification(
128 'list',
129 'List tests only, do not run them',
130 ['--list'],
131 [],
132 false,
133 'bool'),
134 new _TestOptionSpecification(
128 'valgrind', 135 'valgrind',
129 'Run tests through valgrind', 136 'Run tests through valgrind',
130 ['--valgrind'], 137 ['--valgrind'],
131 [], 138 [],
132 false, 139 false,
133 'bool'), 140 'bool'),
134 new _TestOptionSpecification( 141 new _TestOptionSpecification(
135 'special-command', 142 'special-command',
136 specialCommandHelp, 143 specialCommandHelp,
137 ['--special-command'], 144 ['--special-command'],
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 if (option.keys.some((key) => key == name)) { 432 if (option.keys.some((key) => key == name)) {
426 return option; 433 return option;
427 } 434 }
428 } 435 }
429 return null; 436 return null;
430 } 437 }
431 438
432 439
433 List<_TestOptionSpecification> _options; 440 List<_TestOptionSpecification> _options;
434 } 441 }
OLDNEW
« no previous file with comments | « tools/test-runtime.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698