Skip to content

Commit

Permalink
f kunit fix overall
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Jun 7, 2024
1 parent 40ded90 commit 2a30431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contest/remote/kunit.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ def summary_flat(expected, got, sub_path=""):
bad_tests = []
for case in got["test_cases"]:
code = str_to_code[case["status"]]
overall_code = max(code, overall_code)

exp = expected.get(got["name"], {}).get(case["name"])
if exp and exp == code:
continue

overall_code = max(code, overall_code)
results.append({'test': sub_path + case["name"],
'result': code_to_str[code]})
if code:
Expand Down

0 comments on commit 2a30431

Please sign in to comment.