Chromium Code Reviews| 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; |
| } |