test: Increase console-recording size if UNIT_TEST

Some unit tests generate more than 1K of output. Use a higher default
limit by default.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-07-05 13:24:55 -06:00
parent c6a4651fa6
commit 6ab28ecf2a

View File

@@ -26,7 +26,8 @@ config CONSOLE_RECORD_INIT_F
config CONSOLE_RECORD_OUT_SIZE
hex "Output buffer size"
depends on CONSOLE_RECORD
default 0x400 if CONSOLE_RECORD
default 0x1000 if UNIT_TEST
default 0x400
help
Set the size of the console recording output buffer. When this fills
up, no more data will be recorded until some is removed. The buffer