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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import "package:testing/src/run_tests.dart" as testing show main; | 5 import "package:testing/src/run_tests.dart" as testing show main; |
6 | 6 |
7 main() { | 7 main() { |
8 // This method is async, but keeps a port open to prevent the VM from exiting | 8 // This method is async, but keeps a port open to prevent the VM from exiting |
9 // prematurely. | 9 // prematurely. |
10 // Note: if you change this file, also change | 10 // Note: if you change this file, also change |
11 // tests/compiler/dart2js/fasta_analyze_test.dart. | 11 // tests/compiler/dart2js/fasta_analyze_test.dart. |
12 return testing.main(<String>[ | 12 return testing.main( |
13 "--config=pkg/front_end/test/fasta/testing.json", | 13 <String>["--config=pkg/front_end/testing.json", "--verbose", "analyze"]); |
14 "--verbose", | |
15 "analyze" | |
16 ]); | |
17 } | 14 } |
OLD | NEW |