Bug 941506 - Output a message on tbpl summary box when autoclobbering. r=gps

This commit is contained in:
Mike Hommey 2013-11-22 08:16:21 +09:00
parent ed21041c7b
commit 64afb86fb7

View File

@ -180,6 +180,8 @@ def main(args, env, cwd, fh=sys.stderr):
required, performed, message = clobber.maybe_do_clobber(cwd, auto, fh)
if not required or performed:
if performed and env.get('TINDERBOX_OUTPUT'):
print('TinderboxPrint: auto clobber')
return 0
print(message, file=fh)