check `siso summary`

This is to make sure that the command runs as intended and make more
verbose if it has some error.

Bug: b/312632221
Change-Id: I44b372452b37b744f6c02c5a2e34fafe3717e351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5051585
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Junji Watanabe <jwata@google.com>
Commit-Queue: Junji Watanabe <jwata@google.com>
changes/85/5051585/4
Takuto Ikuta 2 years ago committed by LUCI CQ
parent 38b8de056e
commit 8efb05d3d4

@ -371,8 +371,9 @@ def main():
cmd.extend(["--step_types", args.step_types]) cmd.extend(["--step_types", args.step_types])
if args.elapsed_time_sorting: if args.elapsed_time_sorting:
cmd.append("--elapsed_time_sorting") cmd.append("--elapsed_time_sorting")
subprocess.run(cmd) subprocess.run(cmd, check=True)
else: return 0
try: try:
with open(log_file, "r") as log: with open(log_file, "r") as log:
entries = ReadTargets(log, False) entries = ReadTargets(log, False)

Loading…
Cancel
Save