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 "path.dart"; | 10 import "path.dart"; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 'arm', | 142 'arm', |
143 'armv6', | 143 'armv6', |
144 'armv5te', | 144 'armv5te', |
145 'arm64', | 145 'arm64', |
146 'mips', | 146 'mips', |
147 'simarm', | 147 'simarm', |
148 'simarmv6', | 148 'simarmv6', |
149 'simarmv5te', | 149 'simarmv5te', |
150 'simarm64', | 150 'simarm64', |
151 'simmips', | 151 'simmips', |
152 'simdbc' | 152 'simdbc', |
| 153 'simdbc64', |
153 ], | 154 ], |
154 'x64'), | 155 'x64'), |
155 new _TestOptionSpecification( | 156 new _TestOptionSpecification( |
156 'system', | 157 'system', |
157 'The operating system to run tests on', | 158 'The operating system to run tests on', |
158 ['-s', '--system'], | 159 ['-s', '--system'], |
159 ['linux', 'macos', 'windows'], | 160 ['linux', 'macos', 'windows'], |
160 Platform.operatingSystem), | 161 Platform.operatingSystem), |
161 new _TestOptionSpecification( | 162 new _TestOptionSpecification( |
162 'checked', 'Run tests in checked mode', ['--checked'], [], false, | 163 'checked', 'Run tests in checked mode', ['--checked'], [], false, |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 if (option.keys.contains(name)) { | 891 if (option.keys.contains(name)) { |
891 return option; | 892 return option; |
892 } | 893 } |
893 } | 894 } |
894 print('Unknown test option $name'); | 895 print('Unknown test option $name'); |
895 exit(1); | 896 exit(1); |
896 } | 897 } |
897 | 898 |
898 List<_TestOptionSpecification> _options; | 899 List<_TestOptionSpecification> _options; |
899 } | 900 } |
OLD | NEW |