From af0b847e01b999a00f89704b08c939eeb6ed4c9f Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Tue, 24 May 2016 00:01:29 -0400 Subject: [PATCH] Improve headers on email, based on Pedro's suggestions --- master.cfg | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/master.cfg b/master.cfg index 84a1955..ff74d6c 100644 --- a/master.cfg +++ b/master.cfg @@ -345,7 +345,7 @@ send to the gdb-testers mailing list.""" quote (n), quote (log.getName ())) continue elif n == 'regressions' and log.getName () == 'regressions': - text += "*** Regressions found ***\n" + text += "*** Diff to previous build ***\n" text += "============================\n" text += log.getText () text += "============================\n" @@ -355,17 +355,17 @@ send to the gdb-testers mailing list.""" # Including the 'xfail' log. It is important to say which tests # we are ignoring. if found_regressions: - for log in build.getLogs (): - if log.getStep ().getName () == 'regressions' and log.getName () == 'baseline_diff': - text += "\n\n*** Regressions against the baseline ***\n" - text += "============================\n" - text += log.getText () - text += "============================\n" - break + # for log in build.getLogs (): + # if log.getStep ().getName () == 'regressions' and log.getName () == 'baseline_diff': + # text += "\n\n*** Regressions against the baseline ***\n" + # text += "============================\n" + # text += log.getText () + # text += "============================\n" + # break xfail = os.path.join (gdb_web_base, name, 'xfails', branch, '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" with open (xfail, 'r') as f: text += f.read ()