Skip to content

Commit 1bba3fe

Browse files
committed
Put 💯 back in stdout
🚫 makes sense for failed prerequisites but not for stdout cycles. Signed-off-by: Mario Limonciello <superm1@kernel.org>
1 parent af0a1d0 commit 1bba3fe

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/amd_debug/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_group_color(group) -> str:
4747
color = Colors.WARNING
4848
elif group == "🗣️":
4949
color = Colors.HEADER
50-
elif group == "🚫":
50+
elif any(mk in group for mk in ["💯", "🚫"]):
5151
color = Colors.UNDERLINE
5252
elif any(mk in group for mk in ["🦟", "🖴"]):
5353
color = Colors.DEBUG

src/amd_debug/templates/stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% if cycle_data %}{{ cycle_data }}{% endif %}
88
{% if debug_data %}🗣️Debug Data{% for obj in debug_data %}
99

10-
🚫Cycle {{ obj.cycle_num }}{% for index in range(obj.messages | length) %}
10+
💯Cycle {{ obj.cycle_num }}{% for index in range(obj.messages | length) %}
1111
{{obj.priorities[index]}}{{obj.messages[index]}}{% endfor %}
1212
{% endfor %}{% endif %}
1313
{% if failures %}{{ failures }}{% endif %}

src/test_common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"💻": Colors.OK,
4949
"○": Colors.OK,
5050
"💤": Colors.OK,
51+
"💯": Colors.UNDERLINE,
5152
"🚫": Colors.UNDERLINE,
5253
"🗣️": Colors.HEADER,
5354
}

0 commit comments

Comments
 (0)