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

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

Issue 8528025: Implement more progress modes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments Created 9 years, 1 month 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 List<String> defaultTestSelectors = const ['standalone', 'corelib']; 7 List<String> defaultTestSelectors = const ['standalone', 'corelib'];
8 8
9 /** 9 /**
10 * Specification of a single test option. 10 * Specification of a single test option.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 false, 70 false,
71 'bool'), 71 'bool'),
72 new _TestOptionSpecification( 72 new _TestOptionSpecification(
73 'timeout', 73 'timeout',
74 'Timeout in seconds', 74 'Timeout in seconds',
75 ['-t', '--timeout'], 75 ['-t', '--timeout'],
76 [], 76 [],
77 -1, 77 -1,
78 'int'), 78 'int'),
79 new _TestOptionSpecification( 79 new _TestOptionSpecification(
80 'progress',
81 'Progress indication mode',
82 ['-p', '--progress'],
83 ['compact', 'line', 'verbose', 'status', 'buildbot'],
84 'compact'),
85 new _TestOptionSpecification(
80 'tasks', 86 'tasks',
81 'The number of parallel tasks to run', 87 'The number of parallel tasks to run',
82 ['-j', '--tasks'], 88 ['-j', '--tasks'],
83 [], 89 [],
84 new Platform().numberOfProcessors(), 90 new Platform().numberOfProcessors(),
85 'int'), 91 'int'),
86 new _TestOptionSpecification( 92 new _TestOptionSpecification(
87 'help', 93 'help',
88 'Print list of options', 94 'Print list of options',
89 ['-h', '--help'], 95 ['-h', '--help'],
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 if (option.keys.some((key) => key == name)) { 322 if (option.keys.some((key) => key == name)) {
317 return option; 323 return option;
318 } 324 }
319 } 325 }
320 return null; 326 return null;
321 } 327 }
322 328
323 329
324 List<_TestOptionSpecification> _options; 330 List<_TestOptionSpecification> _options;
325 } 331 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_progress.dart » ('j') | tools/testing/dart/test_progress.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698