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': if key not in old_res[0] or old_res[0][key] != 'PASS':
old_res[0][key] = 'PASS' old_res[0][key] = 'PASS'
continue continue
if results[0][key] == 'XFAIL': if results[0][key] == 'XFAIL' or results[0][key] == 'XPASS':
# We don't report new XFAILs # We don't report new XFAILs or XPASSes
continue continue
# We report both PASS -> FAIL and FAIL -> PASS, as well as # We report both PASS -> FAIL and FAIL -> PASS, as well as
# new FAIL and new PASS. # new FAIL and new PASS.