Bug 1425010 - Update mozharness error regex for xpcshell known failures; r=jmaher

Today's xpcshell harness includes a line for known failures ("Todo:"). This
change makes mozharness aware of that, which avoids test-verify failures when
the test is annotated as failing.
This commit is contained in:
Geoff Brown 2017-12-21 12:32:02 -07:00
parent 203856485d
commit c26dde605e

View File

@ -51,10 +51,10 @@ TinderBoxPrintRe = {
'known_fail_group': "Known problems",
},
"xpcshell_summary": {
'regex': re.compile(r'''INFO \| (Passed|Failed): (\d+)'''),
'regex': re.compile(r'''INFO \| (Passed|Failed|Todo): (\d+)'''),
'pass_group': "Passed",
'fail_group': "Failed",
'known_fail_group': None,
'known_fail_group': "Todo",
},
"jsreftest_summary": {
'regex': re.compile(r'''REFTEST INFO \| (Successful|Unexpected|Known problems): (\d+) \('''),