Index: pkg/front_end/lib/src/fasta/testing/kernel_chain.dart |
diff --git a/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart b/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart |
index 191ef312e6fa1e91f6e2957bfcaec41f8886760f..37a2e0d6e9d0eda77a6430563c43882295af1bfd 100644 |
--- a/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart |
+++ b/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart |
@@ -43,6 +43,8 @@ import 'package:package_config/discovery.dart' show loadPackagesFile; |
import '../environment_variable.dart' show EnvironmentVariable; |
+const String STRONG_MODE = " strong mode "; |
+ |
typedef Future<TestContext> TestContextConstructor( |
Chain suite, |
Map<String, String> environment, |
@@ -126,7 +128,7 @@ abstract class TestContext extends ChainContext { |
Uri sdk = await computePatchedSdk(); |
Uri vm = computeDartVm(sdk); |
Uri packages = Uri.base.resolve(".packages"); |
- bool strongMode = false; |
+ bool strongMode = environment.containsKey(STRONG_MODE); |
bool updateExpectations = environment["updateExpectations"] == "true"; |
return constructor( |
suite, |