Chromium Code Reviews| Index: tools/testing/dart/test_runner.dart |
| diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart |
| index 3d575922dec5b0c85539f0a0c9984de4685bf07e..fc3948332fb4667798ecc5b4941d08c220e26f3d 100644 |
| --- a/tools/testing/dart/test_runner.dart |
| +++ b/tools/testing/dart/test_runner.dart |
| @@ -726,7 +726,13 @@ class BrowserCommandOutputImpl extends CommandOutputImpl { |
| } |
| } |
| - bool didFail(TestCase testCase) { |
| + bool get canRunDependendCommands { |
| + // We cannot rely on the exit code of content_shell as a method to determine |
| + // if we were successful or not. |
| + return super.canRunDependendCommands && !didFail(null); |
|
kustermann
2013/08/05 10:23:44
If this returns 'false' and command.numRetries > 0
|
| + } |
| + |
| + bool didFail(TestCase _) { |
| if (_failedBecauseOfMissingXDisplay) { |
| return true; |
| } |