Bug 941506 - Output a message on tbpl summary box when autoclobbering. r=gps
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 22 Nov 2013 08:16:21 +0900
changeset 174711 a7cf94f8971925b2bf50cfd194353abf4afca052
parent 174710 258bb2ea7c1a98bf5542a74761582c76cfbe3955
child 174712 394becd1ec49d2e7251097a8d3f2c85f762cff48
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs941506
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 941506 - Output a message on tbpl summary box when autoclobbering. r=gps
python/mozbuild/mozbuild/controller/clobber.py
--- a/python/mozbuild/mozbuild/controller/clobber.py
+++ b/python/mozbuild/mozbuild/controller/clobber.py
@@ -175,16 +175,18 @@ def main(args, env, cwd, fh=sys.stderr):
     if not os.path.isabs(topobjdir):
         topobjdir = os.path.abspath(topobjdir)
 
     auto = True if env.get('AUTOCLOBBER', False) else False
     clobber = Clobberer(topsrcdir, topobjdir)
     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)
     return 1
 
 
 if __name__ == '__main__':
     sys.exit(main(sys.argv[1:], os.environ, os.getcwd(), sys.stdout))