Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: tools/testing/dart/test_suite.dart

Issue 286883004: Update test.dart to tell the analyzer to use the --use-dart2js-libraries flag when analyzing dart2j… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index 24b1510503eff4892f3f01f8f91b391180251e71..d7e86b66172d034c9e1b68cf0a19f2e69b361ff4 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -1395,6 +1395,12 @@ class StandardTestSuite extends TestSuite {
args.add('--no-hints');
}
+ if ((configuration["compiler"] == "dartanalyzer" ||
+ configuration["compiler"] == "dart2analyzer") &&
+ filePath.filename.contains("dart2js")) {
+ args.add("--use-dart2js-libraries");
ricow1 2014/05/15 06:50:10 this is a major hack and we should try to do this
Emily Fortuna 2014/05/15 15:21:57 Agreed it's a major hack. I didn't know of a nicer
+ }
+
bool isMultitest = optionsFromFile["isMultitest"];
List<String> dartOptions = optionsFromFile["dartOptions"];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698