OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import 'configuration.dart'; | 5 import 'configuration.dart'; |
6 import 'options.dart'; | 6 import 'options.dart'; |
7 import 'test_configurations.dart'; | 7 import 'test_configurations.dart'; |
8 import 'test_suite.dart'; | 8 import 'utils.dart'; |
9 | 9 |
10 void main(List<String> arguments) { | 10 void main(List<String> arguments) { |
11 TestUtils.setDartDirUri(Uri.base); | 11 TestUtils.setDartDirUri(Uri.base); |
12 var configurations = <Configuration>[]; | 12 var configurations = <Configuration>[]; |
13 for (var argument in arguments) { | 13 for (var argument in arguments) { |
14 configurations.addAll(new OptionsParser().parse(argument.split(" "))); | 14 configurations.addAll(new OptionsParser().parse(argument.split(" "))); |
15 } | 15 } |
16 testConfigurations(configurations); | 16 testConfigurations(configurations); |
17 } | 17 } |
OLD | NEW |