[PATCH 3/4] test: serial: Add test for putc/puts

Tom Rini trini at konsulko.com
Fri Apr 15 14:08:33 CEST 2022


On Mon, Apr 04, 2022 at 02:17:59PM -0400, Sean Anderson wrote:

> 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: Sean Anderson <sean.anderson at seco.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220415/e70470e5/attachment.sig>


More information about the U-Boot mailing list