Skip to content

Commit

Permalink
Bug 1777243 - fix small typo in 'mach test-info failure-report'. r=gb…
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaher committed Jun 29, 2022
1 parent 0d488d2 commit d2c51be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/mach_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ def test_info_failures(
# get depends_on bugs:
buglist = [bugid]
if "depends_on" in data["bugs"][0]:
buglist.append(data["bugs"][0]["depends_on"])
buglist.extend(data["bugs"][0]["depends_on"])

testname = parts[0].strip().split(" ")[-1]

Expand Down Expand Up @@ -1087,12 +1087,12 @@ def test_info_failures(
print("%s errors with:" % (len(lines[h]["config"])))
for l in lines[h]["lines"]:
print(l)
print("")

for job in jobs:
count = len([x for x in lines[h]["config"] if x == job])
if count > 0:
print(" %s: %s" % (job, count))
print("")


@Command(
Expand Down

0 comments on commit d2c51be

Please sign in to comment.