[Concept,15/22] test: cedit: Allow cedit_render_lineedit() to run alone

Message ID 20251207201628.2882382-16-sjg@u-boot.org
State New
Headers
Series expo: Expand docs, dump and textlines in non-popup expos |

Commit Message

Simon Glass Dec. 7, 2025, 8:16 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

This test works as part of the bootstd suite but currently fails if run
by itself. The problem is that the console is silenced, so use the new
UTF_NO_SILENT flag to fix this.

Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 test/boot/cedit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/test/boot/cedit.c b/test/boot/cedit.c
index c4d402343fa..b8c46f2d50c 100644
--- a/test/boot/cedit.c
+++ b/test/boot/cedit.c
@@ -446,7 +446,7 @@  static int cedit_render_textline(struct unit_test_state *uts)
 
 	return 0;
 }
-BOOTSTD_TEST(cedit_render_textline, UTF_DM | UTF_SCAN_FDT);
+BOOTSTD_TEST(cedit_render_textline, UTF_DM | UTF_SCAN_FDT | UTF_NO_SILENT);
 
 /* Check the cedit is arranged correctly */
 static int cedit_position(struct unit_test_state *uts)