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

Unified Diff: tests/standalone/test_config.dart

Issue 8537010: Enable frong testing components. (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
Index: tests/standalone/test_config.dart
diff --git a/tests/standalone/test_config.dart b/tests/standalone/test_config.dart
index f2414cb466c021796a7ae6373f34b08fbd4a6065..0cff4b92d0518727066e29787882000425ac12c1 100644
--- a/tests/standalone/test_config.dart
+++ b/tests/standalone/test_config.dart
@@ -24,7 +24,7 @@ class StandaloneTestSuite {
void forEachTest(Function onTest, [Function onDone = null]) {
doTest = onTest;
- doDone = onDone;
+ doDone = (ignore) => onDone();
// Read test expectations from status file.
testExpectationsMap = ReadTestExpectations(statusFilePath, configuration);
@@ -56,13 +56,17 @@ class StandaloneTestSuite {
List args = ["--ignore-unrecognized-flags"];
if (configuration["checked"]) {
- args.add("--enable-type-checks");
+ args.add("--enable_type_checks");
+ }
+ if (configuration["component"] == "leg") {
+ args.add("--enable_leg");
}
args.add(filename);
doTest(new TestCase(testName,
shellPath,
args,
+ configuration["timeout"],
completeHandler,
expectations));
}

Powered by Google App Engine
This is Rietveld 408576698