| 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:builtin"); | 8 #import("dart:builtin"); |
| 9 #import("drt_updater.dart"); | 9 #import("drt_updater.dart"); |
| 10 | 10 |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 ''), | 212 ''), |
| 213 new _TestOptionSpecification( | 213 new _TestOptionSpecification( |
| 214 'time', | 214 'time', |
| 215 'Print timing information after running tests', | 215 'Print timing information after running tests', |
| 216 ['--time'], | 216 ['--time'], |
| 217 [], | 217 [], |
| 218 false, | 218 false, |
| 219 'bool'), | 219 'bool'), |
| 220 new _TestOptionSpecification( | 220 new _TestOptionSpecification( |
| 221 'frog', | 221 'frog', |
| 222 'Path to frog executable', | 222 'Path to frog script or executable', |
| 223 ['--frog'], | 223 ['--frog'], |
| 224 [], | 224 [], |
| 225 ''), | 225 ''), |
| 226 new _TestOptionSpecification( | 226 new _TestOptionSpecification( |
| 227 'dart', |
| 228 'Path to dart executable', |
| 229 ['--dart'], |
| 230 [], |
| 231 ''), |
| 232 new _TestOptionSpecification( |
| 227 'drt', | 233 'drt', |
| 228 'Path to DumpRenderTree executable', | 234 'Path to DumpRenderTree executable', |
| 229 ['--drt'], | 235 ['--drt'], |
| 230 [], | 236 [], |
| 231 ''), | 237 ''), |
| 232 new _TestOptionSpecification( | 238 new _TestOptionSpecification( |
| 233 'dartium', | 239 'dartium', |
| 234 'Path to Dartium Chrome executable', | 240 'Path to Dartium Chrome executable', |
| 235 ['--dartium'], | 241 ['--dartium'], |
| 236 [], | 242 [], |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 return option; | 627 return option; |
| 622 } | 628 } |
| 623 } | 629 } |
| 624 print('Unknown test option $name'); | 630 print('Unknown test option $name'); |
| 625 exit(1); | 631 exit(1); |
| 626 } | 632 } |
| 627 | 633 |
| 628 | 634 |
| 629 List<_TestOptionSpecification> _options; | 635 List<_TestOptionSpecification> _options; |
| 630 } | 636 } |
| OLD | NEW |