From: Simon Glass Date: Thu, 22 Aug 2024 13:57:57 +0000 (-0600) Subject: test: cmd: Use UTF_CONSOLE in tests X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24style.RelPermalink%20%7D%7D?a=commitdiff_plain;h=0e77c2b6117c1a8497676b33de85766c3f3a904c;p=u-boot.git test: cmd: Use UTF_CONSOLE in tests Set this flag rather than doing things manually in the test. Signed-off-by: Simon Glass --- diff --git a/test/cmd/pinmux.c b/test/cmd/pinmux.c index 0b4e001fa1..7ee9269075 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 1ce167c4ab..a91aa24722 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);