| 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', 'client', 'dartdoc']; | 9 'isolate', 'stub-generator', 'vm', 'client', 'dartdoc']; |
| 10 | 10 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 false, | 125 false, |
| 126 'bool'), | 126 'bool'), |
| 127 new _TestOptionSpecification( | 127 new _TestOptionSpecification( |
| 128 'list', | 128 'list', |
| 129 'List tests only, do not run them', | 129 'List tests only, do not run them', |
| 130 ['--list'], | 130 ['--list'], |
| 131 [], | 131 [], |
| 132 false, | 132 false, |
| 133 'bool'), | 133 'bool'), |
| 134 new _TestOptionSpecification( | 134 new _TestOptionSpecification( |
| 135 'keep-generated-tests', |
| 136 'Keep the generated files in the temporary directory', |
| 137 ['--keep-generated-tests'], |
| 138 [], |
| 139 false, |
| 140 'bool'), |
| 141 new _TestOptionSpecification( |
| 135 'valgrind', | 142 'valgrind', |
| 136 'Run tests through valgrind', | 143 'Run tests through valgrind', |
| 137 ['--valgrind'], | 144 ['--valgrind'], |
| 138 [], | 145 [], |
| 139 false, | 146 false, |
| 140 'bool'), | 147 'bool'), |
| 141 new _TestOptionSpecification( | 148 new _TestOptionSpecification( |
| 142 'special-command', | 149 'special-command', |
| 143 specialCommandHelp, | 150 specialCommandHelp, |
| 144 ['--special-command'], | 151 ['--special-command'], |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 return option; | 472 return option; |
| 466 } | 473 } |
| 467 } | 474 } |
| 468 print('Unknown test option $name'); | 475 print('Unknown test option $name'); |
| 469 exit(1); | 476 exit(1); |
| 470 } | 477 } |
| 471 | 478 |
| 472 | 479 |
| 473 List<_TestOptionSpecification> _options; | 480 List<_TestOptionSpecification> _options; |
| 474 } | 481 } |
| OLD | NEW |