| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 List<String> defaultTestSelectors = | 7 List<String> defaultTestSelectors = |
| 8 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', | 8 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', |
| 9 'isolate', 'stub-generator', 'vm']; | 9 'isolate', 'stub-generator', 'vm']; |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 'mode', | 55 'mode', |
| 56 'Mode in which to run the tests', | 56 'Mode in which to run the tests', |
| 57 ['-m', '--mode'], | 57 ['-m', '--mode'], |
| 58 ['all', 'debug', 'release'], | 58 ['all', 'debug', 'release'], |
| 59 'debug'), | 59 'debug'), |
| 60 new _TestOptionSpecification( | 60 new _TestOptionSpecification( |
| 61 'component', | 61 'component', |
| 62 'The component to test against', | 62 'The component to test against', |
| 63 ['-c', '--component'], | 63 ['-c', '--component'], |
| 64 ['most', 'vm', 'dartc', 'frog', 'frogsh', 'leg', | 64 ['most', 'vm', 'dartc', 'frog', 'frogsh', 'leg', |
| 65 'dartium', 'chromium'], | 65 'dartium', 'chromium', 'frogium'], |
| 66 'vm'), | 66 'vm'), |
| 67 new _TestOptionSpecification( | 67 new _TestOptionSpecification( |
| 68 'arch', | 68 'arch', |
| 69 'The architecture to run tests for', | 69 'The architecture to run tests for', |
| 70 ['-a', '--arch'], | 70 ['-a', '--arch'], |
| 71 ['all', 'ia32', 'x64', 'simarm'], | 71 ['all', 'ia32', 'x64', 'simarm'], |
| 72 'ia32'), | 72 'ia32'), |
| 73 new _TestOptionSpecification( | 73 new _TestOptionSpecification( |
| 74 'system', | 74 'system', |
| 75 'The operating system to run tests on', | 75 'The operating system to run tests on', |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 if (option.keys.some((key) => key == name)) { | 425 if (option.keys.some((key) => key == name)) { |
| 426 return option; | 426 return option; |
| 427 } | 427 } |
| 428 } | 428 } |
| 429 return null; | 429 return null; |
| 430 } | 430 } |
| 431 | 431 |
| 432 | 432 |
| 433 List<_TestOptionSpecification> _options; | 433 List<_TestOptionSpecification> _options; |
| 434 } | 434 } |
| OLD | NEW |