Add pytest to test the output of dictionary logging to make sure the encoded logs can be decoded back into strings, and to also make sure the decoded logs have the expected strings. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
10 lines
259 B
Plaintext
10 lines
259 B
Plaintext
CONFIG_LOG=y
|
|
CONFIG_LOG_PRINTK=y
|
|
CONFIG_LOG_BACKEND_UART_OUTPUT_DICTIONARY_HEX=y
|
|
CONFIG_LOG_BACKEND_UART_OUTPUT_DICTIONARY=y
|
|
CONFIG_LOG_BACKEND_UART=y
|
|
|
|
# Immediate mode needed for twister/pytest
|
|
# to capture output without delays.
|
|
CONFIG_LOG_MODE_IMMEDIATE=y
|