test: fix log tests
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 11 Jul 2022 06:21:30 +0000 (08:21 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2022 08:30:56 +0000 (02:30 -0600)
commit59ec024e563c9faab52f1c86736102562201c5fc
treebf3a0569defa5b33c331922c1a949f9df493b0f4
parent53fbaa4a4ae1dde1f83b2dda39ccf70a0b69373d
test: fix log tests

Consider CONFIG_LOG_MAX_LEVEL and gd->default_log_level in

* do_log_test_helpers()
* log_test_dropped()
* log_test_level_deny()

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/log/log_test.c