| Index: dart/tools/testing/dart/test_suite.dart
|
| diff --git a/dart/tools/testing/dart/test_suite.dart b/dart/tools/testing/dart/test_suite.dart
|
| index 7bfb75f508edde5fa05e8904abc4f2a7a97e6834..4bbd4f41e68941e3fa7c5691e16e3c0937fc745e 100644
|
| --- a/dart/tools/testing/dart/test_suite.dart
|
| +++ b/dart/tools/testing/dart/test_suite.dart
|
| @@ -1173,6 +1173,9 @@ class TestUtils {
|
| if (configuration["host_checked"]) {
|
| args.add("--vm_flags=--enable_asserts --enable_type_checks");
|
| }
|
| + if (configuration["component"] == "dart2js") {
|
| + args.add("--allow-mock-compilation");
|
| + }
|
| }
|
| return args;
|
| }
|
|
|