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

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

Issue 9704019: Add --host-checked option to test.dart and use it on dart2js build bots. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
« no previous file with comments | « dart/tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c3ea82f31e2e8b6ce7df48fdafa8e4e4a543e452..517457d365e6b6b765583ed0de2d4a783015d1ac 100644
--- a/dart/tools/testing/dart/test_suite.dart
+++ b/dart/tools/testing/dart/test_suite.dart
@@ -1170,6 +1170,9 @@ class TestUtils {
|| configuration["component"] == "legium") {
args.add("--verbose");
args.add("--leg");
+ if (configuration["host_checked"]) {
+ args.add("--vm_flags=--enable_asserts --enable_type_checks");
+ }
}
return args;
}
« no previous file with comments | « dart/tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698