Bug 1634646 - When running Firefox for pgo, use text mode for log output r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D74310
This commit is contained in:
Ricky Stewart 2020-05-08 17:08:45 +00:00
Родитель 836f133a2d
Коммит 9f954bebdb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -132,7 +132,7 @@ if __name__ == '__main__':
env["LLVM_PROFILE_FILE"] = "default_%p_random_%m.profraw" env["LLVM_PROFILE_FILE"] = "default_%p_random_%m.profraw"
# Write to an output file if we're running in automation # Write to an output file if we're running in automation
process_args = {} process_args = {'universal_newlines': True}
if 'UPLOAD_PATH' in env: if 'UPLOAD_PATH' in env:
process_args['logfile'] = os.path.join(env['UPLOAD_PATH'], 'profile-run-1.log') process_args['logfile'] = os.path.join(env['UPLOAD_PATH'], 'profile-run-1.log')