mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1499043 - ensure JSGC_DISABLE_POISONING is enable for raptor and jsshell-bench tests r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8729 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
9cac5ce7af
commit
eeb42967ae
@ -110,12 +110,19 @@ class Benchmark(object):
|
||||
def run(self):
|
||||
self.reset()
|
||||
|
||||
# Update the environment variables
|
||||
env = os.environ.copy()
|
||||
|
||||
# disable "GC poisoning" Bug# 1499043
|
||||
env['JSGC_DISABLE_POISONING'] = '1'
|
||||
|
||||
process_args = {
|
||||
'cmd': self.command,
|
||||
'cwd': self.path,
|
||||
'onFinish': self.collect_results,
|
||||
'processOutputLine': self.process_line,
|
||||
'stream': sys.stdout,
|
||||
'env': env,
|
||||
}
|
||||
proc = ProcessHandler(**process_args)
|
||||
proc.run()
|
||||
|
@ -440,6 +440,9 @@ class Raptor(TestingMixin, MercurialScript, CodeCoverageMixin, AndroidMixin):
|
||||
env['SCRIPTSPATH'] = scripts_path
|
||||
env['EXTERNALTOOLSPATH'] = external_tools_path
|
||||
|
||||
# disable "GC poisoning" Bug# 1499043
|
||||
env['JSGC_DISABLE_POISONING'] = '1'
|
||||
|
||||
if self.repo_path is not None:
|
||||
env['MOZ_DEVELOPER_REPO_DIR'] = self.repo_path
|
||||
if self.obj_path is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user