Skip to content

Commit

Permalink
Check if 'MINIDUMP_SAVE_PATH' variable exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
moz-wptsync-bot committed Dec 19, 2024
1 parent 387cce8 commit 162bf4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/wptrunner/wptrunner/browsers/firefox_android.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ def get_environ(chaos_mode_flags, env_extras=None):
env = {}
if env_extras is not None:
env.update(env_extras)
env["MINIDUMP_SAVE_PATH"] = os.environ["MINIDUMP_SAVE_PATH"]

if "MINIDUMP_SAVE_PATH" in os.environ:
env["MINIDUMP_SAVE_PATH"] = os.environ["MINIDUMP_SAVE_PATH"]

env["MOZ_CRASHREPORTER"] = "1"
env["MOZ_CRASHREPORTER_SHUTDOWN"] = "1"
env["MOZ_DISABLE_NONLOCAL_CONNECTIONS"] = "1"
Expand Down

0 comments on commit 162bf4c

Please sign in to comment.