summaryrefslogtreecommitdiff
path: root/tools/patman/func_test.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-04-29 07:22:21 -0600
committerSimon Glass <sjg@chromium.org>2025-05-27 10:07:41 +0100
commit7052173faeedc8d2530893d586b0c1b633a46d39 (patch)
treec8df8a31a89c849867b82408efda4f7b020d081b /tools/patman/func_test.py
parent289f4242c5d1290b3b474ff971131136dd7cbb7f (diff)
patman: Show patches in yellow
When comments are shown below patches it can be hard to see the patch subject. Use yellow instead of blue, since it stands out better. Pass the colour object into show_responses() rather than creating a new one, since that is tidier. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/func_test.py')
-rw-r--r--tools/patman/func_test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py
index 3f7573a41a8..47fbbe0cc3f 100644
--- a/tools/patman/func_test.py
+++ b/tools/patman/func_test.py
@@ -1043,7 +1043,7 @@ diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
pwork)
lines = iter(terminal.get_print_test_lines())
col = terminal.Color()
- self.assertEqual(terminal.PrintLine(' 1 Subject 1', col.BLUE),
+ self.assertEqual(terminal.PrintLine(' 1 Subject 1', col.YELLOW),
next(lines))
self.assertEqual(
terminal.PrintLine(' Reviewed-by: ', col.GREEN, newline=False,
@@ -1052,7 +1052,7 @@ diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
self.assertEqual(terminal.PrintLine(self.joe, col.WHITE, bright=False),
next(lines))
- self.assertEqual(terminal.PrintLine(' 2 Subject 2', col.BLUE),
+ self.assertEqual(terminal.PrintLine(' 2 Subject 2', col.YELLOW),
next(lines))
self.assertEqual(
terminal.PrintLine(' Reviewed-by: ', col.GREEN, newline=False,
@@ -1359,7 +1359,7 @@ Reviewed-by: %s
pwork)
lines = iter(terminal.get_print_test_lines())
col = terminal.Color()
- self.assertEqual(terminal.PrintLine(' 1 Subject 1', col.BLUE),
+ self.assertEqual(terminal.PrintLine(' 1 Subject 1', col.YELLOW),
next(lines))
self.assertEqual(
terminal.PrintLine(' + Reviewed-by: ', col.GREEN, newline=False),
@@ -1380,7 +1380,7 @@ Reviewed-by: %s
' Here is my comment above the above...', None), next(lines))
self.assertEqual(terminal.PrintLine('', None), next(lines))
- self.assertEqual(terminal.PrintLine(' 2 Subject 2', col.BLUE),
+ self.assertEqual(terminal.PrintLine(' 2 Subject 2', col.YELLOW),
next(lines))
self.assertEqual(
terminal.PrintLine(' + Reviewed-by: ', col.GREEN, newline=False),