| Index: tests/standalone/src/TestRunnerTest.dart
|
| diff --git a/tests/standalone/src/TestRunnerTest.dart b/tests/standalone/src/TestRunnerTest.dart
|
| index 0803e2b70ca611ec4d27efdf36cd7c4edb587a69..594fc938c8ad350263835102324f4843087f1286 100644
|
| --- a/tests/standalone/src/TestRunnerTest.dart
|
| +++ b/tests/standalone/src/TestRunnerTest.dart
|
| @@ -16,7 +16,7 @@ class TestController {
|
| // Used as TestCase.completedCallback.
|
| static processCompletedTest(TestCase testCase) {
|
| TestOutput output = testCase.output;
|
| - print("Test: ${testCase.commandLine}");
|
| + print("Test: ${testCase.commands.last().commandLine}");
|
| if (output.unexpectedOutput) {
|
| throw "Unexpected output: ${output.result}";
|
| }
|
| @@ -47,10 +47,10 @@ TestCase MakeTestCase(String testName, List<String> expectations) {
|
| var configuration = { 'timeout': 2,
|
| 'special-command': '' };
|
| return new TestCase(testName,
|
| - getDartFileName(),
|
| - <String>["--ignore-unrecognized-flags",
|
| - "--enable_type_checks",
|
| - test_path],
|
| + [new Command(getDartFileName(),
|
| + <String>["--ignore-unrecognized-flags",
|
| + "--enable_type_checks",
|
| + test_path])],
|
| configuration,
|
| TestController.processCompletedTest,
|
| new Set<String>.from(expectations));
|
| @@ -65,8 +65,8 @@ void main() {
|
| new RunningProcess(MakeTestCase("TimeoutTest", [TIMEOUT])).start();
|
|
|
| new RunningProcess(new TestCase("CrashTest",
|
| - getProcessTestFileName(),
|
| - const ["0", "0", "1", "1"],
|
| + [new Command(getProcessTestFileName(),
|
| + const ["0", "0", "1", "1"])],
|
| configuration,
|
| TestController.processCompletedTest,
|
| new Set<String>.from([CRASH]))).start();
|
|
|