summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 30726510826..40da8fa7a3d 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -777,7 +777,7 @@ config TPL_LOG_CONSOLE
config LOG_TEST
bool "Provide a test for logging"
- depends on LOG
+ depends on LOG && UNIT_TEST
default y if SANDBOX
help
This enables a 'log test' command to test logging. It is normally