[PATCH v2 12/19] test: cmd: Use UTF_CONSOLE in tests
Simon Glass
sjg at chromium.org
Thu Aug 22 15:57:57 CEST 2024
Set this flag rather than doing things manually in the test.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
test/cmd/pinmux.c | 3 ++-
test/cmd/wget.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/test/cmd/pinmux.c b/test/cmd/pinmux.c
index 0b4e001fa1e..7ee92690756 100644
--- a/test/cmd/pinmux.c
+++ b/test/cmd/pinmux.c
@@ -36,4 +36,5 @@ static int dm_test_cmd_pinmux_status_pinname(struct unit_test_state *uts)
return 0;
}
-DM_TEST(dm_test_cmd_pinmux_status_pinname, UTF_SCAN_PDATA | UTF_SCAN_FDT);
+DM_TEST(dm_test_cmd_pinmux_status_pinname, UTF_SCAN_PDATA | UTF_SCAN_FDT |
+ UTF_CONSOLE);
diff --git a/test/cmd/wget.c b/test/cmd/wget.c
index 1ce167c4ab4..a91aa24722c 100644
--- a/test/cmd/wget.c
+++ b/test/cmd/wget.c
@@ -223,4 +223,4 @@ static int net_test_wget(struct unit_test_state *uts)
return 0;
}
-LIB_TEST(net_test_wget, 0);
+LIB_TEST(net_test_wget, UTF_CONSOLE);
--
2.34.1
More information about the U-Boot
mailing list