| Index: tests/standalone/src/TestRunnerTest.dart
|
| diff --git a/tests/standalone/src/TestRunnerTest.dart b/tests/standalone/src/TestRunnerTest.dart
|
| index b5f1f99659988dcd2f2dfb5f3d90dd95407837ca..b7c0fac6067eff0b42c33c6ee4b22e3b1f21c90b 100644
|
| --- a/tests/standalone/src/TestRunnerTest.dart
|
| +++ b/tests/standalone/src/TestRunnerTest.dart
|
| @@ -43,20 +43,22 @@ TestCase MakeTestCase(String testName, List<String> expectations) {
|
| test_path = "../tests/standalone/src/${testName}.dart";
|
| }
|
|
|
| - var timeout = 2;
|
| + var configuration = { 'timeout': 2,
|
| + 'special-command': '' };
|
| return new TestCase(testName,
|
| getDartFileName(),
|
| <String>["--ignore-unrecognized-flags",
|
| "--enable_type_checks",
|
| test_path],
|
| - timeout,
|
| + configuration,
|
| TestController.processCompletedTest,
|
| new Set<String>.from(expectations));
|
| }
|
|
|
|
|
| void main() {
|
| - int timeout = 2;
|
| + var configuration = { 'timeout': 2,
|
| + 'special-command': '' };
|
| new RunningProcess(MakeTestCase("PassTest", [PASS])).start();
|
| new RunningProcess(MakeTestCase("FailTest", [FAIL])).start();
|
| new RunningProcess(MakeTestCase("TimeoutTest", [TIMEOUT])).start();
|
| @@ -64,7 +66,7 @@ void main() {
|
| new RunningProcess(new TestCase("CrashTest",
|
| getProcessTestFileName(),
|
| const ["0", "0", "1", "1"],
|
| - timeout,
|
| + configuration,
|
| TestController.processCompletedTest,
|
| new Set<String>.from([CRASH]))).start();
|
| Expect.equals(4, TestController.numTests);
|
|
|