| OLD | NEW |
| 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 #import("dart:builtin"); | 8 #import("dart:builtin"); |
| 9 #import("drt_updater.dart"); | 9 #import("drt_updater.dart"); |
| 10 | 10 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 [], | 207 [], |
| 208 ''), | 208 ''), |
| 209 new _TestOptionSpecification( | 209 new _TestOptionSpecification( |
| 210 'time', | 210 'time', |
| 211 'Print timing information after running tests', | 211 'Print timing information after running tests', |
| 212 ['--time'], | 212 ['--time'], |
| 213 [], | 213 [], |
| 214 false, | 214 false, |
| 215 'bool'), | 215 'bool'), |
| 216 new _TestOptionSpecification( | 216 new _TestOptionSpecification( |
| 217 'frog', |
| 218 'Path to frog executable', |
| 219 ['--frog'], |
| 220 [], |
| 221 ''), |
| 222 new _TestOptionSpecification( |
| 217 'drt', | 223 'drt', |
| 218 'Path to DumpRenderTree executable', | 224 'Path to DumpRenderTree executable', |
| 219 ['--drt'], | 225 ['--drt'], |
| 220 [], | 226 [], |
| 221 ''), | 227 ''), |
| 222 new _TestOptionSpecification( | 228 new _TestOptionSpecification( |
| 229 'froglib', |
| 230 'Path to frog library', |
| 231 ['--froglib'], |
| 232 [], |
| 233 ''), |
| 234 new _TestOptionSpecification( |
| 223 'noBatch', | 235 'noBatch', |
| 224 'Do not run browser tests in batch mode', | 236 'Do not run browser tests in batch mode', |
| 225 ['-n', '--nobatch'], | 237 ['-n', '--nobatch'], |
| 226 [], | 238 [], |
| 227 false, | 239 false, |
| 228 'bool')]; | 240 'bool')]; |
| 229 } | 241 } |
| 230 | 242 |
| 231 | 243 |
| 232 /** | 244 /** |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 return option; | 594 return option; |
| 583 } | 595 } |
| 584 } | 596 } |
| 585 print('Unknown test option $name'); | 597 print('Unknown test option $name'); |
| 586 exit(1); | 598 exit(1); |
| 587 } | 599 } |
| 588 | 600 |
| 589 | 601 |
| 590 List<_TestOptionSpecification> _options; | 602 List<_TestOptionSpecification> _options; |
| 591 } | 603 } |
| OLD | NEW |