diff mbox series

[v2,12/19] test: cmd: Use UTF_CONSOLE in tests

Message ID 20240822135804.2375959-13-sjg@chromium.org
State Accepted
Delegated to: Tom Rini
Headers show
Series Tidy up console recording in tests | expand

Commit Message

Simon Glass Aug. 22, 2024, 1:57 p.m. UTC
Set this flag rather than doing things manually in the test.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 test/cmd/pinmux.c | 3 ++-
 test/cmd/wget.c   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

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);