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

Unified Diff: tests/corelib/test_config.dart

Issue 8537009: tools/test.dart: Implement --checked option. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix type error. Created 9 years, 1 month 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 | tests/standalone/test_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/test_config.dart
diff --git a/tests/corelib/test_config.dart b/tests/corelib/test_config.dart
index 4932cb25ecfe5001bb6ee6b1fc064e0c40f4406c..9bb4c09479d3e459b7fa84348d89cf5c4648b1a7 100644
--- a/tests/corelib/test_config.dart
+++ b/tests/corelib/test_config.dart
@@ -54,12 +54,15 @@ class CorelibTestSuite {
// until they are handled correctly.
if (expectations.contains(SKIP)) return;
+ List args = ["--ignore-unrecognized-flags"];
+ if (configuration["checked"]) {
+ args.add("--enable-type-checks");
+ }
+ args.add(filename);
doTest(new TestCase(testName,
shellPath,
- <String>["--enable_type_checks",
- "--ignore-unrecognized-flags",
- filename ],
+ args,
completeHandler,
expectations));
}
« no previous file with comments | « no previous file | tests/standalone/test_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698