| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 ['-r', '--runtime'], | 100 ['-r', '--runtime'], |
| 101 ['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox', | 101 ['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox', |
| 102 'chrome', 'safari', 'ie9', 'ie10', 'ie11', 'opera', | 102 'chrome', 'safari', 'ie9', 'ie10', 'ie11', 'opera', |
| 103 'chromeOnAndroid', 'safarimobilesim', | 103 'chromeOnAndroid', 'safarimobilesim', |
| 104 'ContentShellOnAndroid', 'DartiumOnAndroid', 'none'], | 104 'ContentShellOnAndroid', 'DartiumOnAndroid', 'none'], |
| 105 'vm'), | 105 'vm'), |
| 106 new _TestOptionSpecification( | 106 new _TestOptionSpecification( |
| 107 'arch', | 107 'arch', |
| 108 'The architecture to run tests for', | 108 'The architecture to run tests for', |
| 109 ['-a', '--arch'], | 109 ['-a', '--arch'], |
| 110 ['all', 'ia32', 'x64', 'arm', 'mips', | 110 ['all', 'ia32', 'x64', 'arm', 'arm64', 'mips', |
| 111 'simarm', 'simarm64', 'simmips'], | 111 'simarm', 'simarm64', 'simmips'], |
| 112 'ia32'), | 112 'ia32'), |
| 113 new _TestOptionSpecification( | 113 new _TestOptionSpecification( |
| 114 'system', | 114 'system', |
| 115 'The operating system to run tests on', | 115 'The operating system to run tests on', |
| 116 ['-s', '--system'], | 116 ['-s', '--system'], |
| 117 ['linux', 'macos', 'windows'], | 117 ['linux', 'macos', 'windows'], |
| 118 Platform.operatingSystem), | 118 Platform.operatingSystem), |
| 119 new _TestOptionSpecification( | 119 new _TestOptionSpecification( |
| 120 'checked', | 120 'checked', |
| (...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 return option; | 847 return option; |
| 848 } | 848 } |
| 849 } | 849 } |
| 850 print('Unknown test option $name'); | 850 print('Unknown test option $name'); |
| 851 exit(1); | 851 exit(1); |
| 852 } | 852 } |
| 853 | 853 |
| 854 | 854 |
| 855 List<_TestOptionSpecification> _options; | 855 List<_TestOptionSpecification> _options; |
| 856 } | 856 } |
| OLD | NEW |