Bug 1518115 - Fix typo in intentional crash leak log processing. r=jgraham

Differential Revision: https://phabricator.services.mozilla.com/D17007

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andrew McCreight 2019-01-21 10:23:27 +00:00
parent f4ff8ed880
commit 2fa8eee7f0
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ class MachFormatter(base.BaseFormatter):
def mozleak_total(self, data):
if data["bytes"] is None:
# We didn't see a line with name 'TOTAL'
if data.get("induced_crashed", False):
if data.get("induced_crash", False):
data_log = data.copy()
data_log["level"] = "INFO"
data_log["message"] = ("leakcheck: %s deliberate crash and thus no leak log\n"

View File

@ -304,7 +304,7 @@ class TbplFormatter(BaseFormatter):
def mozleak_total(self, data):
if data["bytes"] is None:
# We didn't see a line with name 'TOTAL'
if data.get("induced_crashed", False):
if data.get("induced_crash", False):
return ("TEST-INFO | leakcheck | %s deliberate crash and thus no leak log\n"
% data["process"])
if data.get("ignore_missing", False):