test: cmd: Use UTF_CONSOLE in tests

Set this flag rather than doing things manually in the test.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2024-08-22 07:57:57 -06:00 committed by Tom Rini
parent 2b60f8c8b1
commit 0e77c2b611
2 changed files with 3 additions and 2 deletions

View file

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

View file

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