From e4f97097458b3c0db5cdb5ac7fdc852098e96117 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 15 Sep 2017 14:47:19 -0400 Subject: [PATCH] Don't report XPASS too --- lib/sumfiles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sumfiles.py b/lib/sumfiles.py index bff0085..e59ddfc 100644 --- a/lib/sumfiles.py +++ b/lib/sumfiles.py @@ -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.