Skip to content

Commit

Permalink
Include application name in scanlog comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Nov 30, 2024
1 parent d395f70 commit 9863e13
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Tools/ci/scanlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ def get_args(cmd: str):

def print_diff(log1: Log, log2: Log):
for job1 in log1.jobs:
job_printed = False
try:
job2 = next(job for job in log2.jobs if job.name == job1.name)
except StopIteration:
Expand Down Expand Up @@ -364,9 +363,7 @@ def print_diff(log1: Log, log2: Log):
data[name] = f'{v2-v1:+}'
diff_table.append(data)

if not job_printed:
print(f'{job1.name}:')
job_printed = True
print(f'{job1.name}: {target}')
print_table(diff_table)

if table2.rows:
Expand Down

0 comments on commit 9863e13

Please sign in to comment.