| Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py
|
| index ccebc371c4605b6cbf660c5269c08b3ab5a93c23..56bc0ee113d9566dfb3a488dced7c4e0799c32da 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/testharness_results.py
|
| @@ -10,6 +10,13 @@ TESTHARNESSREPORT_HEADER = 'This is a testharness.js-based test.'
|
| TESTHARNESSREPORT_FOOTER = 'Harness: the test ran to completion.'
|
|
|
|
|
| +def is_all_pass_testharness_result(content_text):
|
| + """Returns whether |content_text| is a testharness result that only contains PASS lines."""
|
| + return (is_testharness_output(content_text) and
|
| + is_testharness_output_passing(content_text) and
|
| + not is_testharness_output_with_console_errors_or_warnings(content_text))
|
| +
|
| +
|
| def is_testharness_output(content_text):
|
| """Returns whether the content_text in parameter is a testharness output."""
|
|
|
|
|