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

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

Issue 283223003: Add additional case where we use the use-dart2js-libraries flag in test.dart. (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 d7e86b66172d034c9e1b68cf0a19f2e69b361ff4..ad6358fdd8ea5d15718a6d3772384b9faf2c059a 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -1397,7 +1397,8 @@ class StandardTestSuite extends TestSuite {
if ((configuration["compiler"] == "dartanalyzer" ||
configuration["compiler"] == "dart2analyzer") &&
- filePath.filename.contains("dart2js")) {
+ (filePath.filename.contains("dart2js") ||
+ filePath.directoryPath.segments().last.contains('html_common'))) {
args.add("--use-dart2js-libraries");
}
« 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