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

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

Issue 9315036: Change output of test.dart --list option, so it can be parsed automatically. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: more changes Created 8 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) 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 #import("dart:io"); 7 #import("dart:io");
8 8
9 List<String> defaultTestSelectors = 9 List<String> defaultTestSelectors =
10 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', 10 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language',
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 'timeout', 89 'timeout',
90 'Timeout in seconds', 90 'Timeout in seconds',
91 ['-t', '--timeout'], 91 ['-t', '--timeout'],
92 [], 92 [],
93 -1, 93 -1,
94 'int'), 94 'int'),
95 new _TestOptionSpecification( 95 new _TestOptionSpecification(
96 'progress', 96 'progress',
97 'Progress indication mode', 97 'Progress indication mode',
98 ['-p', '--progress'], 98 ['-p', '--progress'],
99 ['compact', 'color', 'line', 'verbose', 'status', 'buildbot'], 99 ['compact', 'color', 'line', 'verbose',
100 'silent', 'status', 'buildbot'],
100 'compact'), 101 'compact'),
101 new _TestOptionSpecification( 102 new _TestOptionSpecification(
102 'report', 103 'report',
103 'Print a summary report of the number of tests, by expectation', 104 'Print a summary report of the number of tests, by expectation',
104 ['--report'], 105 ['--report'],
105 [], 106 [],
106 false, 107 false,
107 'bool'), 108 'bool'),
108 new _TestOptionSpecification( 109 new _TestOptionSpecification(
109 'tasks', 110 'tasks',
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 return option; 487 return option;
487 } 488 }
488 } 489 }
489 print('Unknown test option $name'); 490 print('Unknown test option $name');
490 exit(1); 491 exit(1);
491 } 492 }
492 493
493 494
494 List<_TestOptionSpecification> _options; 495 List<_TestOptionSpecification> _options;
495 } 496 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698