mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1229731 - Run Firefox a first time to fill its profile before doing the actual profiling run for PGO. r=ted
This commit is contained in:
parent
8ad221e9e1
commit
a8f8fee46a
@ -63,6 +63,14 @@ if __name__ == '__main__':
|
||||
if os.path.exists(vc12dir):
|
||||
env["PATH"] = vc12dir + ";" + env["PATH"]
|
||||
|
||||
# Run Firefox a first time to initialize its profile
|
||||
runner = FirefoxRunner(profile=profile,
|
||||
binary=build.get_binary_path(where="staged-package"),
|
||||
cmdargs=['javascript:Quitter.quit()'],
|
||||
env=env)
|
||||
runner.start()
|
||||
runner.wait()
|
||||
|
||||
jarlog = os.getenv("JARLOG_FILE")
|
||||
if jarlog:
|
||||
env["MOZ_JAR_LOG_FILE"] = os.path.abspath(jarlog)
|
||||
|
Loading…
Reference in New Issue
Block a user