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 #import("dart:io"); |
| 8 |
7 List<String> defaultTestSelectors = | 9 List<String> defaultTestSelectors = |
8 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', | 10 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', |
9 'isolate', 'stub-generator', 'vm', 'client', 'dartdoc']; | 11 'isolate', 'stub-generator', 'vm', 'client', 'dartdoc']; |
10 | 12 |
11 /** | 13 /** |
12 * Specification of a single test option. | 14 * Specification of a single test option. |
13 * | 15 * |
14 * The name of the specification is used as the key for the option in | 16 * The name of the specification is used as the key for the option in |
15 * the Map returned from the [TestOptionParser] parse method. | 17 * the Map returned from the [TestOptionParser] parse method. |
16 */ | 18 */ |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 return option; | 480 return option; |
479 } | 481 } |
480 } | 482 } |
481 print('Unknown test option $name'); | 483 print('Unknown test option $name'); |
482 exit(1); | 484 exit(1); |
483 } | 485 } |
484 | 486 |
485 | 487 |
486 List<_TestOptionSpecification> _options; | 488 List<_TestOptionSpecification> _options; |
487 } | 489 } |
OLD | NEW |