From bd3eb305649122479f2512ffaa26415458f83eb8 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 15 Sep 2017 14:28:25 -0400 Subject: [PATCH] Don't report new XFAILs --- lib/sumfiles.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sumfiles.py b/lib/sumfiles.py index afd7c31..bff0085 100644 --- a/lib/sumfiles.py +++ b/lib/sumfiles.py @@ -204,6 +204,9 @@ 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 + continue # We report both PASS -> FAIL and FAIL -> PASS, as well as # new FAIL and new PASS. if key not in old_res[0]: