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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 'x64', | 141 'x64', |
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 ], | 153 ], |
153 'x64'), | 154 'x64'), |
154 new _TestOptionSpecification( | 155 new _TestOptionSpecification( |
155 'system', | 156 'system', |
156 'The operating system to run tests on', | 157 'The operating system to run tests on', |
157 ['-s', '--system'], | 158 ['-s', '--system'], |
158 ['linux', 'macos', 'windows'], | 159 ['linux', 'macos', 'windows'], |
159 Platform.operatingSystem), | 160 Platform.operatingSystem), |
160 new _TestOptionSpecification( | 161 new _TestOptionSpecification( |
161 'checked', 'Run tests in checked mode', ['--checked'], [], false, | 162 'checked', 'Run tests in checked mode', ['--checked'], [], false, |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 if (option.keys.contains(name)) { | 890 if (option.keys.contains(name)) { |
890 return option; | 891 return option; |
891 } | 892 } |
892 } | 893 } |
893 print('Unknown test option $name'); | 894 print('Unknown test option $name'); |
894 exit(1); | 895 exit(1); |
895 } | 896 } |
896 | 897 |
897 List<_TestOptionSpecification> _options; | 898 List<_TestOptionSpecification> _options; |
898 } | 899 } |
OLD | NEW |