test: add LOGL_FORCE_DEBUG flags support in log tests
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 27 Nov 2020 10:20:51 +0000 (11:20 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2021 19:36:10 +0000 (14:36 -0500)
commit6278ec1919fff83a4f0adde1e5d987852b154ebf
tree8ee5dbbfa12a7881ae17ae1ae8f901eec567993f
parentb0db69b4e1e1bf1109bd9d4a5185cbd4058f4a8b
test: add LOGL_FORCE_DEBUG flags support in log tests

Add a check of the _log function with LOGL_FORCE_DEBUG flags,
used to force the trace display.

The trace should be displayed for all the level when flags
have LOGL_FORCE_DEBUG bit is set, for any filter.

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