| Index: pkg/front_end/test/fasta/testing/suite.dart
|
| diff --git a/pkg/front_end/test/fasta/testing/suite.dart b/pkg/front_end/test/fasta/testing/suite.dart
|
| index 67569099d34288ba7b6e020135069c5463f58078..bde552d310d394cd078e943e7a5ee4c56911dea8 100644
|
| --- a/pkg/front_end/test/fasta/testing/suite.dart
|
| +++ b/pkg/front_end/test/fasta/testing/suite.dart
|
| @@ -12,8 +12,6 @@ import 'dart:convert' show JSON;
|
|
|
| import 'package:front_end/physical_file_system.dart' show PhysicalFileSystem;
|
|
|
| -import 'package:front_end/src/fasta/compiler_command_line.dart';
|
| -
|
| import 'package:front_end/src/fasta/testing/validating_instrumentation.dart'
|
| show ValidatingInstrumentation;
|
|
|
| @@ -33,6 +31,11 @@ import 'package:testing/testing.dart'
|
| TestDescription,
|
| StdioProcess;
|
|
|
| +import 'package:front_end/compiler_options.dart' show CompilerOptions;
|
| +
|
| +import 'package:front_end/src/base/processed_options.dart'
|
| + show ProcessedOptions;
|
| +
|
| import 'package:front_end/src/fasta/compiler_context.dart' show CompilerContext;
|
|
|
| import 'package:front_end/src/fasta/deprecated_problems.dart'
|
| @@ -224,7 +227,9 @@ class Outline extends Step<TestDescription, Program, FastaContext> {
|
|
|
| Future<Result<Program>> run(
|
| TestDescription description, FastaContext context) async {
|
| - return await CompilerCommandLine.withGlobalOptions("", [""], (_) async {
|
| + var options =
|
| + new ProcessedOptions(new CompilerOptions()..throwOnErrors = false);
|
| + return await CompilerContext.runWithOptions(options, (_) async {
|
| // Disable colors to ensure that expectation files are the same across
|
| // platforms and independent of stdin/stderr.
|
| CompilerContext.current.disableColors();
|
|
|