Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: tests/compiler/dart2js/kernel/compile_from_dill_fast_startup_test.dart

Issue 2963193003: Add equivalence testing on JS nodes to support different label names (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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]);
-}

Powered by Google App Engine
This is Rietveld 408576698