| Index: Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
|
| diff --git a/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py b/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
|
| index f203fa534bea2bbdd9c6015dc6172e06caf8116f..a798c3957a47c67f2774bdedaea2e2b9aefe3da9 100644
|
| --- a/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
|
| +++ b/Tools/Scripts/webkitpy/layout_tests/models/test_run_results.py
|
| @@ -254,7 +254,9 @@ def summarize_results(port_obj, expectations, initial_results, retry_results, en
|
| test_dict['actual'] = " ".join(actual)
|
|
|
| def is_expected(actual_result):
|
| - return expectations.matches_an_expected_result(test_name, result_type, port_obj.get_option('pixel_tests') or result.reftest_type)
|
| + return expectations.matches_an_expected_result(test_name, result_type,
|
| + port_obj.get_option('pixel_tests') or result.reftest_type,
|
| + port_obj.get_option('enable_sanitizer'))
|
|
|
| # To avoid bloating the output results json too much, only add an entry for whether the failure is unexpected.
|
| if not all(is_expected(actual_result) for actual_result in actual):
|
|
|