Chromium Code Reviews| Index: tools/testing/dart/test_runner.dart |
| =================================================================== |
| --- tools/testing/dart/test_runner.dart (revision 13986) |
| +++ tools/testing/dart/test_runner.dart (working copy) |
| @@ -610,8 +610,11 @@ |
| process = null; |
| int totalSteps = testCase.commands.length; |
| String suffix =' (step $currentStep of $totalSteps)'; |
| - if (timedOut) { |
| - // Test timed out before it could complete. |
| + if (timedOut && |
| + !(testCase.usesWebDriver && !testCase.configuration['noBatch'])) { |
|
Jennifer Messerly
2012/10/23 22:50:19
might want to add a property for:
testCase.us
Emily Fortuna
2012/10/23 23:11:25
But the dartc tests also "usesBatchRunner"...
Mads Ager (google)
2012/10/24 05:56:14
I don't understand why this should change. If we a
Mads Ager (google)
2012/10/24 12:03:47
Something is completely off here. I don't see how
|
| + // Non-webdriver test timed out before it could complete. Webdriver tests |
| + // run their own timeouts by timing from the launch of the browser (which |
| + // could be delayed). |
| testComplete(0, true); |
| } else if (currentStep == totalSteps) { |
| // Done with all test commands. |