test: log functions with CONFIG_LOG=n
[oweals/u-boot.git] / test / Kconfig
index 0157e0b060adcb71baffbf0a6af3ca3969e7a5bd..28704a25b613368264b1ee4e45b61bb0b22e1b19 100644 (file)
@@ -40,6 +40,15 @@ config UT_LIB_RSA
 
 endif
 
+config UT_LOG
+       bool "Unit tests for logging functions"
+       depends on UNIT_TEST
+       default y
+       help
+         Enables the 'ut log' command which tests logging functions like
+         log_err().
+         See also CONFIG_LOG_TEST which provides the 'log test' command.
+
 config UT_TIME
        bool "Unit tests for time functions"
        depends on UNIT_TEST