Index: compiler/java/com/google/dart/compiler/UnitTestBatchRunner.java |
diff --git a/compiler/java/com/google/dart/compiler/UnitTestBatchRunner.java b/compiler/java/com/google/dart/compiler/UnitTestBatchRunner.java |
index eed2876548dca4491390e3461ee6786f62082c57..bbabf4a2a35b36189a1d81b7e433231545722fc5 100644 |
--- a/compiler/java/com/google/dart/compiler/UnitTestBatchRunner.java |
+++ b/compiler/java/com/google/dart/compiler/UnitTestBatchRunner.java |
@@ -44,7 +44,7 @@ public class UnitTestBatchRunner { |
// TODO(zundel): These are shell script cmdlines: be smarter about quoted strings. |
String[] args = line.trim().split("\\s+"); |
Result result = toolInvocation.invoke(args); |
- boolean resultPass = result.code >= DartCompiler.RESULT_ERRORS; |
+ boolean resultPass = result.code < DartCompiler.RESULT_ERRORS; |
if (resultPass) { |
testsFailed++; |
} |