Skip to content

Commit af0a1d0

Browse files
committed
Update failed prerequisites symbol
Dennis pointed out that 💯 isn't great for a failure. He suggested using 🚫 . Suggested-by: Denis Benato <benato.denis96@gmail.com> Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
1 parent 87faf0a commit af0a1d0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
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 group == "🚫":
5151
color = Colors.UNDERLINE
5252
elif any(mk in group for mk in ["🦟", "🖴"]):
5353
color = Colors.DEBUG

src/amd_debug/prerequisites.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ def run(self):
13201320
if not check():
13211321
result = False
13221322
if not result:
1323-
self.db.record_prereq(Headers.BrokenPrerequisites, "💯")
1323+
self.db.record_prereq(Headers.BrokenPrerequisites, "🚫")
13241324
self.db.sync()
13251325
clear_temporary_message(len(msg))
13261326
return result

src/amd_debug/sleep_report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def run(self, inc_prereq=True):
488488
text = line.strip()
489489
if not text:
490490
continue
491-
for group in ["🗣️", "❌", "🚦", "🦟", "💯", "○"]:
491+
for group in ["🗣️", "❌", "🚦", "🦟", "🚫", "○"]:
492492
if line.startswith(group):
493493
text = line.split(group)[-1]
494494
color = get_group_color(group)

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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"💻": Colors.OK,
4949
"○": Colors.OK,
5050
"💤": Colors.OK,
51-
"💯": Colors.UNDERLINE,
51+
"🚫": Colors.UNDERLINE,
5252
"🗣️": Colors.HEADER,
5353
}
5454

0 commit comments

Comments
 (0)