Don't report XPASS too

This commit is contained in:
Sergio Durigan Junior 2017-09-15 14:47:19 -04:00
parent bd3eb30564
commit e4f9709745

View file

@ -204,8 +204,8 @@ class DejaResults(object):
if key not in old_res[0] or old_res[0][key] != 'PASS':
old_res[0][key] = 'PASS'
continue
if results[0][key] == 'XFAIL':
# We don't report new XFAILs
if results[0][key] == 'XFAIL' or results[0][key] == 'XPASS':
# We don't report new XFAILs or XPASSes
continue
# We report both PASS -> FAIL and FAIL -> PASS, as well as
# new FAIL and new PASS.