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

Unified Diff: tests/corelib/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
« no previous file with comments | « no previous file | tests/standalone/test_config.dart » ('j') | tools/testing/dart/test_runner.dart » ('J')
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 9bb4c09479d3e459b7fa84348d89cf5c4648b1a7..7128256c3ddb8a003bb22c3863362470daac9163 100644
--- a/tests/corelib/test_config.dart
+++ b/tests/corelib/test_config.dart
@@ -24,7 +24,7 @@ class CorelibTestSuite {
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 CorelibTestSuite {
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));
}
« no previous file with comments | « no previous file | tests/standalone/test_config.dart » ('j') | tools/testing/dart/test_runner.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698