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: this should stay in sync with |
| 11 // pkg/front_end/test/fasta/analyze_test.dart |
10 return testing.main(<String>[ | 12 return testing.main(<String>[ |
11 "--config=pkg/front_end/test/fasta/testing.json", | 13 "--config=pkg/front_end/test/fasta/testing.json", |
12 "--verbose", | 14 "--verbose", |
13 "analyze" | 15 "analyze" |
14 ]); | 16 ]); |
15 } | 17 } |
OLD | NEW |