Index: tools/testing/dart/test_suite.dart |
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart |
index 0546964876d35a16d016b4455c4004a93e47dca7..532d187ce94af66976e8cf5003a7d7edf9def03e 100644 |
--- a/tools/testing/dart/test_suite.dart |
+++ b/tools/testing/dart/test_suite.dart |
@@ -1834,6 +1834,9 @@ class TestUtils { |
if (compiler == "dart2js" && configuration["csp"]) { |
args.add("--disallow-unsafe-eval"); |
} |
+ if (compiler == "dartanalyzer" || compiler == "dart2analyzer") { |
+ args.add("--show-package-warnings"); |
+ } |
return args; |
} |