From e350a348bca2b41177f9b9155c65461ed950b4b1 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Tue, 23 Dec 2014 01:54:48 -0500 Subject: [PATCH] Including xfail in the email --- master.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/master.cfg b/master.cfg index 0f7e118..0894940 100644 --- a/master.cfg +++ b/master.cfg @@ -121,6 +121,13 @@ send to the gdb-testers mailing list.""" if log.getName () == 'regressions' and log.hasContents (): text += log.getText () break + xfail = os.path.join (gdb_web_base, name, 'xfail') + if os.path.exists (xfail): + text += "\n" + text += "Failures that are being ignored:\n\n" + with open (xfail, 'r') as f: + text += f.read () + text += "\n" return { 'body' : text, 'type' : 'plain', 'subject' : subj }