| 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 "dart:math"; | 8 import "dart:math"; |
| 9 import "drt_updater.dart"; | 9 import "drt_updater.dart"; |
| 10 import "test_suite.dart"; | 10 import "test_suite.dart"; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 tests).''', | 106 tests).''', |
| 107 ['-r', '--runtime'], | 107 ['-r', '--runtime'], |
| 108 ['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox', | 108 ['vm', 'd8', 'jsshell', 'drt', 'dartium', 'ff', 'firefox', |
| 109 'chrome', 'safari', 'ie9', 'ie10', 'opera', 'chromeOnAndroid', | 109 'chrome', 'safari', 'ie9', 'ie10', 'opera', 'chromeOnAndroid', |
| 110 'none'], | 110 'none'], |
| 111 'vm'), | 111 'vm'), |
| 112 new _TestOptionSpecification( | 112 new _TestOptionSpecification( |
| 113 'arch', | 113 'arch', |
| 114 'The architecture to run tests for', | 114 'The architecture to run tests for', |
| 115 ['-a', '--arch'], | 115 ['-a', '--arch'], |
| 116 ['all', 'ia32', 'x64', 'simarm', 'simmips'], | 116 ['all', 'ia32', 'x64', 'simarm', 'simmips', 'arm'], |
| 117 'ia32'), | 117 'ia32'), |
| 118 new _TestOptionSpecification( | 118 new _TestOptionSpecification( |
| 119 'system', | 119 'system', |
| 120 'The operating system to run tests on', | 120 'The operating system to run tests on', |
| 121 ['-s', '--system'], | 121 ['-s', '--system'], |
| 122 ['linux', 'macos', 'windows'], | 122 ['linux', 'macos', 'windows'], |
| 123 Platform.operatingSystem), | 123 Platform.operatingSystem), |
| 124 new _TestOptionSpecification( | 124 new _TestOptionSpecification( |
| 125 'checked', | 125 'checked', |
| 126 'Run tests in checked mode', | 126 'Run tests in checked mode', |
| (...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 return option; | 722 return option; |
| 723 } | 723 } |
| 724 } | 724 } |
| 725 print('Unknown test option $name'); | 725 print('Unknown test option $name'); |
| 726 exit(1); | 726 exit(1); |
| 727 } | 727 } |
| 728 | 728 |
| 729 | 729 |
| 730 List<_TestOptionSpecification> _options; | 730 List<_TestOptionSpecification> _options; |
| 731 } | 731 } |
| OLD | NEW |