| Index: tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart
|
| diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart b/tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart
|
| index 7f160a94b334f85f2505165a0c83594eca376335..5ca5fa0f5b555d6ad662f3168ab13da9921e0c86 100644
|
| --- a/tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart
|
| +++ b/tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart
|
| @@ -6,35 +6,13 @@
|
| // compilation using the fast_startup emitter.
|
| library dart2js.kernel.compile_from_dill_fast_startup_test;
|
|
|
| -import 'dart:async';
|
| import 'package:async_helper/async_helper.dart';
|
| import 'package:compiler/src/commandline_options.dart';
|
| -import '../serialization/helper.dart';
|
|
|
| import 'compile_from_dill_test_helper.dart';
|
|
|
| main(List<String> args) {
|
| asyncTest(() async {
|
| - await mainInternal(args);
|
| + await runTests(args, options: [Flags.fastStartup]);
|
| });
|
| }
|
| -
|
| -Future<ResultKind> mainInternal(List<String> args,
|
| - {bool skipWarnings: false, bool skipErrors: false}) async {
|
| - Arguments arguments = new Arguments.from(args);
|
| - Uri entryPoint;
|
| - Map<String, String> memorySourceFiles;
|
| - if (arguments.uri != null) {
|
| - entryPoint = arguments.uri;
|
| - memorySourceFiles = const <String, String>{};
|
| - } else {
|
| - entryPoint = Uri.parse('memory:main.dart');
|
| - memorySourceFiles = SOURCE;
|
| - }
|
| -
|
| - return runTest(entryPoint, memorySourceFiles,
|
| - verbose: arguments.verbose,
|
| - skipWarnings: skipWarnings,
|
| - skipErrors: skipErrors,
|
| - options: [Flags.fastStartup]);
|
| -}
|
|
|