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 import 'dart:io'; | 5 import 'dart:io'; |
6 | 6 |
7 import 'configuration.dart'; | 7 import 'configuration.dart'; |
8 import 'path.dart'; | 8 import 'path.dart'; |
9 import 'runtime_updater.dart'; | 9 import 'runtime_updater.dart'; |
10 import 'utils.dart'; | 10 import 'utils.dart'; |
11 | 11 |
12 const _defaultTestSelectors = const [ | 12 const _defaultTestSelectors = const [ |
13 'samples', | 13 'samples', |
14 'standalone', | 14 'standalone', |
15 'corelib', | |
16 'corelib_2', | 15 'corelib_2', |
17 'co19', | 16 'co19', |
18 'language', | 17 'language', |
19 'language_2', | 18 'language_2', |
20 'isolate', | 19 'isolate', |
21 'vm', | 20 'vm', |
22 'html', | 21 'html', |
23 'benchmark_smoke', | 22 'benchmark_smoke', |
24 'utils', | 23 'utils', |
25 'lib', | 24 'lib', |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 if (name == option.name) return option; | 755 if (name == option.name) return option; |
757 | 756 |
758 // Allow hyphens instead of underscores as the separator since they are | 757 // Allow hyphens instead of underscores as the separator since they are |
759 // more common for command line flags. | 758 // more common for command line flags. |
760 if (name == option.name.replaceAll("_", "-")) return option; | 759 if (name == option.name.replaceAll("_", "-")) return option; |
761 } | 760 } |
762 | 761 |
763 return null; | 762 return null; |
764 } | 763 } |
765 } | 764 } |
OLD | NEW |