| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 "drt_updater.dart"; | 8 import "drt_updater.dart"; |
| 9 import "test_suite.dart"; | 9 import "test_suite.dart"; |
| 10 | 10 |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 ['--replay_from_file'], | 383 ['--replay_from_file'], |
| 384 [], | 384 [], |
| 385 null), | 385 null), |
| 386 new _TestOptionSpecification( | 386 new _TestOptionSpecification( |
| 387 'builder_tag', | 387 'builder_tag', |
| 388 'Machine specific options that is not captured by the regular ' | 388 'Machine specific options that is not captured by the regular ' |
| 389 'test options. Used to be able to make sane updates to the ' | 389 'test options. Used to be able to make sane updates to the ' |
| 390 'status files.', | 390 'status files.', |
| 391 ['--builder-tag'], | 391 ['--builder-tag'], |
| 392 [], | 392 [], |
| 393 null), | 393 ''), |
| 394 new _TestOptionSpecification( | 394 new _TestOptionSpecification( |
| 395 'vm_options', | 395 'vm_options', |
| 396 'Extra options to send to the vm when running', | 396 'Extra options to send to the vm when running', |
| 397 ['--vm-options'], | 397 ['--vm-options'], |
| 398 [], | 398 [], |
| 399 null),]; | 399 null),]; |
| 400 } | 400 } |
| 401 | 401 |
| 402 | 402 |
| 403 /** | 403 /** |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 return option; | 829 return option; |
| 830 } | 830 } |
| 831 } | 831 } |
| 832 print('Unknown test option $name'); | 832 print('Unknown test option $name'); |
| 833 exit(1); | 833 exit(1); |
| 834 } | 834 } |
| 835 | 835 |
| 836 | 836 |
| 837 List<_TestOptionSpecification> _options; | 837 List<_TestOptionSpecification> _options; |
| 838 } | 838 } |
| OLD | NEW |