Skip to content
Commit f935d2ef authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

test: serial: Add test for putc/puts



This adds a test to ensure that puts is equivalent to putc called in a
loop. We don't verify the contents of the message to avoid having to
record console output a second time (though that could be added in the
future). The globals are initialized to non-zero values to avoid a
warning; in particular, the character count is off-by-one (but we always
make relative measurements).

Signed-off-by: default avatarSean Anderson <sean.anderson@seco.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 98e93f29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment