Improve headers on email, based on Pedro's suggestions
This commit is contained in:
parent
864ec709ef
commit
af0b847e01
1 changed files with 9 additions and 9 deletions
18
master.cfg
18
master.cfg
|
@ -345,7 +345,7 @@ send to the gdb-testers mailing list."""
|
||||||
quote (n), quote (log.getName ()))
|
quote (n), quote (log.getName ()))
|
||||||
continue
|
continue
|
||||||
elif n == 'regressions' and log.getName () == 'regressions':
|
elif n == 'regressions' and log.getName () == 'regressions':
|
||||||
text += "*** Regressions found ***\n"
|
text += "*** Diff to previous build ***\n"
|
||||||
text += "============================\n"
|
text += "============================\n"
|
||||||
text += log.getText ()
|
text += log.getText ()
|
||||||
text += "============================\n"
|
text += "============================\n"
|
||||||
|
@ -355,17 +355,17 @@ send to the gdb-testers mailing list."""
|
||||||
# Including the 'xfail' log. It is important to say which tests
|
# Including the 'xfail' log. It is important to say which tests
|
||||||
# we are ignoring.
|
# we are ignoring.
|
||||||
if found_regressions:
|
if found_regressions:
|
||||||
for log in build.getLogs ():
|
# for log in build.getLogs ():
|
||||||
if log.getStep ().getName () == 'regressions' and log.getName () == 'baseline_diff':
|
# if log.getStep ().getName () == 'regressions' and log.getName () == 'baseline_diff':
|
||||||
text += "\n\n*** Regressions against the baseline ***\n"
|
# text += "\n\n*** Regressions against the baseline ***\n"
|
||||||
text += "============================\n"
|
# text += "============================\n"
|
||||||
text += log.getText ()
|
# text += log.getText ()
|
||||||
text += "============================\n"
|
# text += "============================\n"
|
||||||
break
|
# break
|
||||||
|
|
||||||
xfail = os.path.join (gdb_web_base, name, 'xfails', branch, 'xfail')
|
xfail = os.path.join (gdb_web_base, name, 'xfails', branch, 'xfail')
|
||||||
if os.path.exists (xfail):
|
if os.path.exists (xfail):
|
||||||
text += "\n\n*** Failures that are being ignored ***\n"
|
text += "\n\n*** Racy tests that are not being considered ***\n"
|
||||||
text += "============================\n"
|
text += "============================\n"
|
||||||
with open (xfail, 'r') as f:
|
with open (xfail, 'r') as f:
|
||||||
text += f.read ()
|
text += f.read ()
|
||||||
|
|
Loading…
Reference in a new issue