log: correct CONFIG_LOG_TEST prerequisites
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 26 Feb 2020 20:48:15 +0000 (21:48 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Apr 2020 14:07:57 +0000 (08:07 -0600)
commitd1a02f53b3f24dfce488ba244ba4f8809bebe596
treec4473c15e851011f7349a0ada523a2470be69fcb
parent0544ecbfe92e909dd8ac6795d4399a65d6727d9b
log: correct CONFIG_LOG_TEST prerequisites

An error

undefined reference to `do_log_test'

occurs for CONFIG_CMD_LOG=y, CONFIG_LOG_TEST=y, CONGIG_UNIT_TEST=n

Make CONFIG_UNIT_TEST a prerequisite.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/Kconfig