Skip to contentSkip to conversation

bootstd: Add UT_TESTF_CONSOLE_REC to bootflow tests

PATCH New Simon Glass 1 participant 1 message Sep 1, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v4 3/24 bootstd: Add UT_TESTF_CONSOLE_REC to bootflow tests

Quite a few tests use console recording without indicating this, using the UT_TESTF_CONSOLE_REC flag. Fix this to avoid strange failures.

---

(no changes since v1)

 test/boot/bootflow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/boot/bootflow.c +1 -1
index 6ad63afe90a..da55d5cfe69 100644
@@ -362,7 +362,7 @@ static int bootflow_iter(struct unit_test_state *uts)
 
 	return 0;
 }
-BOOTSTD_TEST(bootflow_iter, UTF_DM | UTF_SCAN_FDT);
+BOOTSTD_TEST(bootflow_iter, UTF_DM | UTF_SCAN_FDT | UTF_CONSOLE);
 
 #if defined(CONFIG_SANDBOX) && defined(CONFIG_BOOTMETH_GLOBAL)
 /* Check using the system bootdev */
Signature · 1 line
2.34.1