aboutsummaryrefslogtreecommitdiff
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-12-04 13:48:27 -0700
committerTom Rini <trini@konsulko.com>2017-12-07 15:17:00 -0500
commitef11ed8239bf02b347e7fb9fc6d980aec0c7810a (patch)
treea4416fad19e06ea6d1a10a7324fe395bf8dfd61d /common/Kconfig
parentd5f61f272d5b7b86bf6321512ba6326c7c075e72 (diff)
downloadu-boot-ef11ed8239bf02b347e7fb9fc6d980aec0c7810a.zip
u-boot-ef11ed8239bf02b347e7fb9fc6d980aec0c7810a.tar.gz
u-boot-ef11ed8239bf02b347e7fb9fc6d980aec0c7810a.tar.bz2
log: Add a test command
Add a command which exercises the logging system. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 1b157e4..4da095a 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -494,6 +494,16 @@ config LOG_SPL_CONSOLE
log message is shown - other details like level, category, file and
line number are omitted.
+config LOG_TEST
+ bool "Provide a test for logging"
+ depends on LOG
+ default y if SANDBOX
+ help
+ This enables a 'log test' command to test logging. It is normally
+ executed from a pytest and simply outputs logging information
+ in various different ways to test that the logging system works
+ correctly with varoius settings.
+
endmenu
config DEFAULT_FDT_FILE