mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Auto merge of #22442 - servo:wpt-logs, r=jdm
Taskcluster: make WPT logs more readable Fixes #22438 <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22442) <!-- Reviewable:end -->
This commit is contained in:
commit
f7fd128881
2 changed files with 13 additions and 7 deletions
|
@ -571,7 +571,7 @@ class MachCommands(CommandBase):
|
|||
if log_intermittents:
|
||||
with open(log_intermittents, "w") as intermittents_file:
|
||||
for intermittent in intermittents:
|
||||
json.dump(intermittent, intermittents_file)
|
||||
json.dump(intermittent, intermittents_file, indent=4)
|
||||
print("\n", end='', file=intermittents_file)
|
||||
|
||||
if len(actual_failures) == 0:
|
||||
|
@ -579,7 +579,7 @@ class MachCommands(CommandBase):
|
|||
|
||||
output = open(log_filteredsummary, "w") if log_filteredsummary else sys.stdout
|
||||
for failure in actual_failures:
|
||||
json.dump(failure, output)
|
||||
json.dump(failure, output, indent=4)
|
||||
print("\n", end='', file=output)
|
||||
|
||||
if output is not sys.stdout:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue