Bug 1299216 - Make use of MOZ_CRASHREPORTER_SHUTDOWN environment variable in Marionette. r=automatedtester
authorHenrik Skupin <mail@hskupin.info>
Wed, 26 Oct 2016 12:43:42 +0200
changeset 351601 8463d0e5bf289bd05ed23efddb119eee82ff6c03
parent 351600 46fd1d89a918e2af60c2dfe8284925e30976c495
child 351602 32b908ad1b02660ff9bce79cbae9b8b4e5515a94
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersautomatedtester
bugs1299216
milestone52.0a1
Bug 1299216 - Make use of MOZ_CRASHREPORTER_SHUTDOWN environment variable in Marionette. r=automatedtester MozReview-Commit-ID: 88NhfqMGPXF
testing/marionette/client/marionette_driver/geckoinstance.py
--- a/testing/marionette/client/marionette_driver/geckoinstance.py
+++ b/testing/marionette/client/marionette_driver/geckoinstance.py
@@ -148,17 +148,19 @@ class GeckoInstance(object):
         else:
             process_args['logfile'] = self.gecko_log
 
         env = os.environ.copy()
 
         # environment variables needed for crashreporting
         # https://developer.mozilla.org/docs/Environment_variables_affecting_crash_reporting
         env.update({'MOZ_CRASHREPORTER': '1',
-                    'MOZ_CRASHREPORTER_NO_REPORT': '1'})
+                    'MOZ_CRASHREPORTER_NO_REPORT': '1',
+                    'MOZ_CRASHREPORTER_SHUTDOWN': '1',
+                    })
 
         return {
             'binary': self.binary,
             'profile': self.profile,
             'cmdargs': ['-no-remote', '-marionette'] + self.app_args,
             'env': env,
             'symbols_path': self.symbols_path,
             'process_args': process_args