diff options
author | Simon Glass <sjg@chromium.org> | 2017-12-04 23:48:27 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-12-07 23:17:00 +0300 |
commit | ef11ed8239bf02b347e7fb9fc6d980aec0c7810a (patch) | |
tree | a4416fad19e06ea6d1a10a7324fe395bf8dfd61d /common/Kconfig | |
parent | d5f61f272d5b7b86bf6321512ba6326c7c075e72 (diff) | |
download | u-boot-ef11ed8239bf02b347e7fb9fc6d980aec0c7810a.tar.xz |
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/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 1b157e47c3..4da095a4fd 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 |