From bdfcca36bbed40e28e958691bef02056f2a16fe5 Mon Sep 17 00:00:00 2001 From: Vincent Ricard Date: Sun, 31 Jan 2021 21:10:11 +0100 Subject: [PATCH] Add PRECONDITION_FAILED to grouping_formatter.py --- tests/wpt/grouping_formatter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/wpt/grouping_formatter.py b/tests/wpt/grouping_formatter.py index 4f188909e0a..49cf8ece626 100644 --- a/tests/wpt/grouping_formatter.py +++ b/tests/wpt/grouping_formatter.py @@ -47,6 +47,7 @@ class ServoFormatter(base.BaseFormatter): 'TIMEOUT': 0, 'SKIP': 0, 'CRASH': 0, + 'PRECONDITION_FAILED': 0, } self.unexpected_tests = { @@ -56,6 +57,7 @@ class ServoFormatter(base.BaseFormatter): 'ERROR': [], 'TIMEOUT': [], 'CRASH': [], + 'PRECONDITION_FAILED': [], } def get_move_up_and_clear_eol_codes(self): @@ -264,6 +266,7 @@ class ServoFormatter(base.BaseFormatter): output += text_for_unexpected_list(u"crashed unexpectedly", 'CRASH') output += text_for_unexpected_list(u"had errors unexpectedly", 'ERROR') output += text_for_unexpected_list(u"failed unexpectedly", 'FAIL') + output += text_for_unexpected_list(u"precondition failed unexpectedly", 'PRECONDITION_FAILED') output += text_for_unexpected_list(u"timed out unexpectedly", 'TIMEOUT') output += text_for_unexpected_list(u"passed unexpectedly", 'PASS') output += text_for_unexpected_list(u"unexpectedly okay", 'OK')