Index: Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py |
diff --git a/Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py b/Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py |
index 570074c4afcc9e89a1e0969b40bb8a7d1af7b2f9..3d45fb8751b7405c7eb0a287bb51622c4990e8e1 100644 |
--- a/Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py |
+++ b/Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py |
@@ -81,7 +81,7 @@ def is_testharness_output_passing(content_text): |
return True |
-def is_testharness_output_with_console_errors(content_text): |
+def is_testharness_output_with_console_errors_or_warnings(content_text): |
""" |
Returns whether the content_text in parameter is a testharness output with |
console errors. |
@@ -92,7 +92,7 @@ def is_testharness_output_with_console_errors(content_text): |
lines = content_text.strip().splitlines() |
for line in lines: |
- if line.startswith('CONSOLE ERROR:'): |
+ if line.startswith('CONSOLE ERROR:') or line.startswith('CONSOLE WARNING:'): |
return True |
return False |