summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2022-04-04 14:17:59 -0400
committerTom Rini <[email protected]>2022-04-14 15:39:15 -0400
commit679190c41a25592103e711718c93d2655d344713 (patch)
tree89d69f532715c6e61ee5e5f73c71a1458119897c /scripts/const_structs.checkpatch
parentefa51f2bd641965f91550e1f7eeec14b5746db87 (diff)
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: Sean Anderson <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions