| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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"; |
| 11 | 11 |
| 12 List<String> defaultTestSelectors = | 12 List<String> defaultTestSelectors = |
| 13 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', | 13 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', |
| 14 'isolate', 'vm', 'html', 'json', 'benchmark_smoke', | 14 'isolate', 'vm', 'html', 'json', 'benchmark_smoke', |
| 15 'utils', 'lib', 'pkg']; | 15 'utils', 'lib', 'pkg']; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * Specification of a single test option. | 18 * Specification of a single test option. |
| 19 * | 19 * |
| 20 * The name of the specification is used as the key for the option in | 20 * The name of the specification is used as the key for the option in |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 return option; | 669 return option; |
| 670 } | 670 } |
| 671 } | 671 } |
| 672 print('Unknown test option $name'); | 672 print('Unknown test option $name'); |
| 673 exit(1); | 673 exit(1); |
| 674 } | 674 } |
| 675 | 675 |
| 676 | 676 |
| 677 List<_TestOptionSpecification> _options; | 677 List<_TestOptionSpecification> _options; |
| 678 } | 678 } |
| OLD | NEW |