| Index: tools/testing/dart/test_suite.dart
|
| diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
|
| index b4e7b537396ca9661de0aa92c7076324934fb5c0..aef5b3f2a06421b5484ed83c6e2ef5c1354ddfd2 100644
|
| --- a/tools/testing/dart/test_suite.dart
|
| +++ b/tools/testing/dart/test_suite.dart
|
| @@ -2225,6 +2225,10 @@ class TestUtils {
|
|
|
| static List<String> standardOptions(Map configuration) {
|
| List args = ["--ignore-unrecognized-flags"];
|
| + if (configuration["checked"]) {
|
| + args.add('--enable_asserts');
|
| + args.add("--enable_type_checks");
|
| + }
|
| String compiler = configuration["compiler"];
|
| if (compiler == "dart2js") {
|
| args = ['--generate-code-with-compile-time-errors', '--test-mode'];
|
|
|