Index: tools/testing/dart/test_runner.dart |
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart |
index bedc8ef04042e2e2eb6ca0060da9c14fb232bd0b..ec0e91882158472c086e0fb22761b7a27ccf753f 100644 |
--- a/tools/testing/dart/test_runner.dart |
+++ b/tools/testing/dart/test_runner.dart |
@@ -1087,14 +1087,14 @@ class BrowserCommandOutputImpl extends CommandOutputImpl { |
compilationSkipped, 0); |
Expectation result(TestCase testCase) { |
+ if (_infraFailure) { |
+ return Expectation.IGNORE; |
+ } |
// Handle crashes and timeouts first |
if (hasCrashed) return Expectation.CRASH; |
if (hasTimedOut) return Expectation.TIMEOUT; |
if (hasNonUtf8) return Expectation.NON_UTF8_ERROR; |
- if (_infraFailure) { |
- return Expectation.IGNORE; |
- } |
var outcome = _getOutcome(); |
if (testCase.hasRuntimeError) { |