Index: tools/testing/dart/test_runner.dart |
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart |
index e712f7e6659a427d5a513601bfabcfde726da50b..2832652e811765860169fe7ff53aee1934b59b08 100644 |
--- a/tools/testing/dart/test_runner.dart |
+++ b/tools/testing/dart/test_runner.dart |
@@ -78,7 +78,10 @@ class TestCase { |
[this.isNegative = false, |
this.info = null]) { |
if (!isNegative) { |
- this.isNegative = displayName.contains("NegativeTest"); |
+ // TODO(sigmund): dissallow NegativeTest once the test rename overhaul is |
+ // done. |
+ this.isNegative = displayName.contains("NegativeTest") |
+ || displayName.contains("negative_test"); |
} |
// Special command handling. If a special command is specified |