| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 'Timeout in seconds', | 149 'Timeout in seconds', |
| 150 ['-t', '--timeout'], | 150 ['-t', '--timeout'], |
| 151 [], | 151 [], |
| 152 -1, | 152 -1, |
| 153 'int'), | 153 'int'), |
| 154 new _TestOptionSpecification( | 154 new _TestOptionSpecification( |
| 155 'progress', | 155 'progress', |
| 156 'Progress indication mode', | 156 'Progress indication mode', |
| 157 ['-p', '--progress'], | 157 ['-p', '--progress'], |
| 158 ['compact', 'color', 'line', 'verbose', | 158 ['compact', 'color', 'line', 'verbose', |
| 159 'silent', 'status', 'buildbot'], | 159 'silent', 'status', 'buildbot', 'diff'], |
| 160 'compact'), | 160 'compact'), |
| 161 new _TestOptionSpecification( | 161 new _TestOptionSpecification( |
| 162 'step_name', | 162 'step_name', |
| 163 'Step name for use by -pbuildbot', | 163 'Step name for use by -pbuildbot', |
| 164 ['--step_name'], | 164 ['--step_name'], |
| 165 [], | 165 [], |
| 166 null), | 166 null), |
| 167 new _TestOptionSpecification( | 167 new _TestOptionSpecification( |
| 168 'report', | 168 'report', |
| 169 'Print a summary report of the number of tests, by expectation', | 169 'Print a summary report of the number of tests, by expectation', |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 return option; | 684 return option; |
| 685 } | 685 } |
| 686 } | 686 } |
| 687 print('Unknown test option $name'); | 687 print('Unknown test option $name'); |
| 688 exit(1); | 688 exit(1); |
| 689 } | 689 } |
| 690 | 690 |
| 691 | 691 |
| 692 List<_TestOptionSpecification> _options; | 692 List<_TestOptionSpecification> _options; |
| 693 } | 693 } |
| OLD | NEW |