From c7fad0468f682f3e57a3f83440b1d40eb9c8a7cd Mon Sep 17 00:00:00 2001 From: Matthieu Baerts Date: Fri, 23 Oct 2026 12:09:14 +0200 Subject: [PATCH] contest: kunit: print original name in bad_tests So we can easily copy-paste it to the kunit-expected file. 'name' is the 'pretty' name that is stored in the DB, while the original is the one used in the kunit-expected file, and what is used by KUnit. Signed-off-by: Matthieu Baerts --- contest/remote/kunit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contest/remote/kunit.py b/contest/remote/kunit.py index f0105fe0..c2f538f8 100755 --- a/contest/remote/kunit.py +++ b/contest/remote/kunit.py @@ -108,7 +108,7 @@ def summary_flat(expected, got, sub_path=""): results.append({'test': sub_path + name, 'result': code_to_str[code]}) if code: - bad_tests.append(f"{got['name']} {name} {case['status']}") + bad_tests.append(f"{got['name']} {case['name']} {case['status']}") for sub_group in got["sub_groups"]: ov, bt, res = summary_flat(expected, sub_group, sub_path + sub_group["name"])