| 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 import "compiler_configuration.dart" show CompilerConfiguration; | 10 import "compiler_configuration.dart" show CompilerConfiguration; |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 413 ['--builder-tag'], | 413 ['--builder-tag'], |
| 414 [], | 414 [], |
| 415 ''), | 415 ''), |
| 416 new _TestOptionSpecification( | 416 new _TestOptionSpecification( |
| 417 'vm_options', | 417 'vm_options', |
| 418 'Extra options to send to the vm when running', | 418 'Extra options to send to the vm when running', |
| 419 ['--vm-options'], | 419 ['--vm-options'], |
| 420 [], | 420 [], |
| 421 null), | 421 null), |
| 422 new _TestOptionSpecification( | 422 new _TestOptionSpecification( |
| 423 'dart2js_options', |
| 424 'Extra options for dart2js compilation step', |
| 425 ['--dart2js-options'], |
| 426 [], |
| 427 null), |
| 428 new _TestOptionSpecification( |
| 423 'exclude_suite', | 429 'exclude_suite', |
| 424 'Exclude suites from default selector, only works when no' | 430 'Exclude suites from default selector, only works when no' |
| 425 ' selector has been specified on the command line', | 431 ' selector has been specified on the command line', |
| 426 ['--exclude-suite'], | 432 ['--exclude-suite'], |
| 427 defaultTestSelectors, | 433 defaultTestSelectors, |
| 428 null),]; | 434 null),]; |
| 429 } | 435 } |
| 430 | 436 |
| 431 | 437 |
| 432 /** | 438 /** |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 return option; | 853 return option; |
| 848 } | 854 } |
| 849 } | 855 } |
| 850 print('Unknown test option $name'); | 856 print('Unknown test option $name'); |
| 851 exit(1); | 857 exit(1); |
| 852 } | 858 } |
| 853 | 859 |
| 854 | 860 |
| 855 List<_TestOptionSpecification> _options; | 861 List<_TestOptionSpecification> _options; |
| 856 } | 862 } |
| OLD | NEW |