Mercurial > mozilla > hg > MozillaTry
comparison mozillatry.py @ 39:0895e61753d1
better messages
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 09 Jan 2013 15:19:12 -0800 |
parents | 2d900a1f9951 |
children | efb29cff39a7 |
comparison
equal
deleted
inserted
replaced
38:2d900a1f9951 | 39:0895e61753d1 |
---|---|
87 return try syntax; see also: | 87 return try syntax; see also: |
88 - https://github.com/pbiggar/trychooser | 88 - https://github.com/pbiggar/trychooser |
89 - http://trychooser.pub.build.mozilla.org/ | 89 - http://trychooser.pub.build.mozilla.org/ |
90 """ | 90 """ |
91 | 91 |
92 assert opt or debug | 92 assert opt or debug, "At least one of `opt` or `debug` must be true" |
93 assert platforms | 93 assert platforms, "No platforms specified" |
94 message = ['try:'] | 94 message = ['try:'] |
95 message += ['-b', '%s%s' % (('d' if debug else ''), ('o' if opt else ''))] | 95 message += ['-b', '%s%s' % (('d' if debug else ''), ('o' if opt else ''))] |
96 message += ['-p', ','.join(platforms)] | 96 message += ['-p', ','.join(platforms)] |
97 message += ['-u', (','.join(unittests) if unittests else 'none')] | 97 message += ['-u', (','.join(unittests) if unittests else 'none')] |
98 message += ['-t', (','.join(talos) if talos else 'none')] | 98 message += ['-t', (','.join(talos) if talos else 'none')] |