зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1249857 - Do not print times when running mach from config.status; r=nalexander
Currently, config.status runs `mach artifact install`. mach commands prefix output lines with elapsed time by default. When running from `mach build`, there will be 2 sets of times in `mach artifact install` output lines. When config.status is run directly, there will be no times printed except for `mach artifact install`. It is weird both ways. Fix it by not printing lines when running `mach artifact install` from config.status. MozReview-Commit-ID: GVinyI4Z0qr --HG-- extra : rebase_source : 80aa5714a0249d9974becee183e7cfde7143f556 extra : amend_source : a89bca7af847f73efd18fb0a09bc9e76d8943577
This commit is contained in:
Родитель
f91b1ade98
Коммит
e35e937238
|
@ -199,4 +199,9 @@ def config_status(topobjdir='.', topsrcdir='.',
|
|||
if env.substs.get('MOZ_ARTIFACT_BUILDS', False):
|
||||
# Execute |mach artifact install| from the top source directory.
|
||||
os.chdir(topsrcdir)
|
||||
return subprocess.check_call([sys.executable, os.path.join(topsrcdir, 'mach'), 'artifact', 'install'])
|
||||
return subprocess.check_call([
|
||||
sys.executable,
|
||||
os.path.join(topsrcdir, 'mach'),
|
||||
'--log-no-times',
|
||||
'artifact',
|
||||
'install'])
|
||||
|
|
Загрузка…
Ссылка в новой задаче