test: log: add test for dropped messages
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 27 Nov 2020 10:20:53 +0000 (11:20 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2021 19:36:11 +0000 (14:36 -0500)
commitce9af2a6b57b512853d6e6234616edc4265669de
tree01abaac44381f195a2ceddbb4ee7159af04d6e61
parentf0e90e0eadbed59f0afb0d281816873339fd51ee
test: log: add test for dropped messages

Add a new test to check the dropped messages when LOG is not ready
with log_drop_count and the result of _log().

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/log/log_test.c