| 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));
|
| }
|
|
|