]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: cmd: Use UTF_CONSOLE in tests
authorSimon Glass <sjg@chromium.org>
Thu, 22 Aug 2024 13:57:57 +0000 (07:57 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 27 Aug 2024 00:51:49 +0000 (18:51 -0600)
Set this flag rather than doing things manually in the test.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/cmd/pinmux.c
test/cmd/wget.c

index 0b4e001fa1ea3d485beab051d344ffbc8ca426c6..7ee9269075611289bbe57deaa5fe3c0986862c3e 100644 (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);
index 1ce167c4ab4cbd54e6c1bdd6c6da3ac6f0262198..a91aa24722ce95c919bb16711da25a040094ff91 100644 (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);