equal
deleted
inserted
replaced
|
1 # HG changeset patch |
|
2 # User Wolfgang Rosenauer <wr@rosenauer.org> |
|
3 # Parent 43820d9e289abee98a2e3cdb4314848de3bc8622 |
|
4 |
|
5 diff --git a/build/pgo/profileserver.py b/build/pgo/profileserver.py |
|
6 --- a/build/pgo/profileserver.py |
|
7 +++ b/build/pgo/profileserver.py |
|
8 @@ -127,17 +127,17 @@ if __name__ == '__main__': |
|
9 # Bug 1553850 considers fixing this. |
|
10 env["MOZ_DISABLE_CONTENT_SANDBOX"] = "1" |
|
11 env["MOZ_DISABLE_RDD_SANDBOX"] = "1" |
|
12 |
|
13 # Ensure different pids write to different files |
|
14 env["LLVM_PROFILE_FILE"] = "default_%p_random_%m.profraw" |
|
15 |
|
16 # Write to an output file if we're running in automation |
|
17 - process_args = {} |
|
18 + process_args = {'universal_newlines': True} |
|
19 if 'UPLOAD_PATH' in env: |
|
20 process_args['logfile'] = os.path.join(env['UPLOAD_PATH'], 'profile-run-1.log') |
|
21 |
|
22 # Run Firefox a first time to initialize its profile |
|
23 runner = FirefoxRunner(profile=profile, |
|
24 binary=binary, |
|
25 cmdargs=['data:text/html,<script>Quitter.quit()</script>'], |
|
26 env=env, |