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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 2881833003: Reuse -cdartk for vm testing with Dart Frontend parser. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index e6a8e3ab02ed372a7379393878b694e0ef7e9cac..13f782627774e9518e08ba28510194603d8f601d 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -2040,6 +2040,13 @@ class TestUtils {
if (compiler == "dart2js" && configuration["dart2js_with_kernel"]) {
args.add("--use-kernel");
}
+ if (compiler == "none" &&
+ configuration["kernel_snapshot_to_use_in_vm"] != '') {
+ // Kernel snapshot argument should be first in the list.
+ args.insert(0,
+ "--run_vm_test_with_kernel_snapshot=${configuration['kernel_snapshot_to_use_in_vm']}");
+ args.add("--use_dart_frontend");
siva 2017/05/15 04:42:56 Why not use the same scheme as used with the compi
aam 2017/05/16 00:18:02 If we are to support vm testing with or without ke
siva 2017/05/17 18:36:46 I was thinking if we changed test_configuration.da
+ }
return args;
}
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698