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

Unified Diff: tests/standalone/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: 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 | « tests/corelib/test_config.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/test_config.dart
diff --git a/tests/standalone/test_config.dart b/tests/standalone/test_config.dart
index 904d54b9c0310b50539522c7669d03c9c3c8842e..f2414cb466c021796a7ae6373f34b08fbd4a6065 100644
--- a/tests/standalone/test_config.dart
+++ b/tests/standalone/test_config.dart
@@ -14,7 +14,7 @@ class StandaloneTestSuite {
Function doDone;
String shellPath;
String pathSeparator;
- Map<String, String> configuration;
+ Map configuration;
Mads Ager (google) 2011/11/11 11:35:20 Thanks!
TestExpectationsMap testExpectationsMap;
StandaloneTestSuite(Map this.configuration) {
@@ -54,12 +54,15 @@ class StandaloneTestSuite {
// 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 | « tests/corelib/test_config.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698