zephyr/tests/subsys/logging/dictionary/testcase.yaml
Daniel Leung 9a08fdc1df tests: logging/dictionary: enable pytest to test output
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>
2024-06-28 21:14:14 +02:00

35 lines
871 B
YAML

common:
# For twister runs, the following arch/platforms use logging backends
# which do not output dictionary logging in hexidecimal format,
# and thus cannot be used for testing. Currently, only UART
# logging backend does that.
arch_exclude:
- posix
platform_exclude:
- qemu_xtensa
- qemu_xtensa/dc233c/mmu
tests:
logging.dictionary:
tags: logging
integration_platforms:
- qemu_x86
- qemu_x86_64
harness: pytest
harness_config:
pytest_root:
- "pytest/test_logging_dictionary.py"
logging.dictionary.fpu:
tags: logging
filter: CONFIG_CPU_HAS_FPU
extra_configs:
- CONFIG_FPU=y
harness: pytest
harness_config:
pytest_root:
- "pytest/test_logging_dictionary.py"
pytest_args:
- "--fpu"
integration_platforms:
- qemu_x86
- qemu_x86_64