Including xfail in the email
This commit is contained in:
parent
f340d4c6f3
commit
e350a348bc
1 changed files with 7 additions and 0 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue