diff --git a/master.cfg b/master.cfg index bdd1cdc..a5fb4c2 100644 --- a/master.cfg +++ b/master.cfg @@ -253,7 +253,13 @@ send to the gdb-testers mailing list.""" elif n == 'compile gdb': text += "*** Failed to compiled GDB. ***\n" text += "============================\n" - text += log.getText ().decode ('ascii', 'ignore') + ct = log.getText ().decode ('ascii', 'ignore') + if len (ct) > 100000: + text += "\n+++ The log is too big to be posted here." + text += "\n+++ Please go to the \"Full Build URL\" (link above) to see it." + text += "\n" + else: + text += ct text += "============================\n" break elif n == 'make tags':