| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 ['vm', 'dart_precompiled', 'd8', 'jsshell', 'drt', 'dartium', | 101 ['vm', 'dart_precompiled', 'd8', 'jsshell', 'drt', 'dartium', |
| 102 'ff', 'firefox', | 102 'ff', 'firefox', |
| 103 'chrome', 'safari', 'ie9', 'ie10', 'ie11', 'opera', | 103 'chrome', 'safari', 'ie9', 'ie10', 'ie11', 'opera', |
| 104 'chromeOnAndroid', 'safarimobilesim', | 104 'chromeOnAndroid', 'safarimobilesim', |
| 105 'ContentShellOnAndroid', 'DartiumOnAndroid', 'none'], | 105 'ContentShellOnAndroid', 'DartiumOnAndroid', 'none'], |
| 106 'vm'), | 106 'vm'), |
| 107 new _TestOptionSpecification( | 107 new _TestOptionSpecification( |
| 108 'arch', | 108 'arch', |
| 109 'The architecture to run tests for', | 109 'The architecture to run tests for', |
| 110 ['-a', '--arch'], | 110 ['-a', '--arch'], |
| 111 ['all', 'ia32', 'x64', 'arm', 'armv5te', 'arm64', 'mips', | 111 ['all', 'ia32', 'x64', 'arm', 'armv6', 'armv5te', 'arm64', 'mips', |
| 112 'simarm', 'simarmv5te', 'simarm64', 'simmips'], | 112 'simarm', 'simarmv6', 'simarmv5te', 'simarm64', 'simmips'], |
| 113 'x64'), | 113 'x64'), |
| 114 new _TestOptionSpecification( | 114 new _TestOptionSpecification( |
| 115 'system', | 115 'system', |
| 116 'The operating system to run tests on', | 116 'The operating system to run tests on', |
| 117 ['-s', '--system'], | 117 ['-s', '--system'], |
| 118 ['linux', 'macos', 'windows'], | 118 ['linux', 'macos', 'windows'], |
| 119 Platform.operatingSystem), | 119 Platform.operatingSystem), |
| 120 new _TestOptionSpecification( | 120 new _TestOptionSpecification( |
| 121 'checked', | 121 'checked', |
| 122 'Run tests in checked mode', | 122 'Run tests in checked mode', |
| (...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 return option; | 891 return option; |
| 892 } | 892 } |
| 893 } | 893 } |
| 894 print('Unknown test option $name'); | 894 print('Unknown test option $name'); |
| 895 exit(1); | 895 exit(1); |
| 896 } | 896 } |
| 897 | 897 |
| 898 | 898 |
| 899 List<_TestOptionSpecification> _options; | 899 List<_TestOptionSpecification> _options; |
| 900 } | 900 } |
| OLD | NEW |