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

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

Issue 9813012: Add "mock" compilation feature to dart2js and use it to improve test coverage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 9 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
Index: dart/tools/testing/dart/test_suite.dart
diff --git a/dart/tools/testing/dart/test_suite.dart b/dart/tools/testing/dart/test_suite.dart
index 7bfb75f508edde5fa05e8904abc4f2a7a97e6834..4bbd4f41e68941e3fa7c5691e16e3c0937fc745e 100644
--- a/dart/tools/testing/dart/test_suite.dart
+++ b/dart/tools/testing/dart/test_suite.dart
@@ -1173,6 +1173,9 @@ class TestUtils {
if (configuration["host_checked"]) {
args.add("--vm_flags=--enable_asserts --enable_type_checks");
}
+ if (configuration["component"] == "dart2js") {
+ args.add("--allow-mock-compilation");
+ }
}
return args;
}
« dart/samples/tests/samples/samples-leg.status ('K') | « dart/tests/standalone/standalone-leg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698