zephyr/samples/subsys/logging/logger/sample.yaml
Kumar Gala e65c84e5bd samples: logging: set integration_platforms
Set integration_platforms on these samples to a single platform, we
prefer native_posix, than a qemu platform mps2_an385 and finally a
hardware platform.

For the 'basic' sample we use native_posix, for the 'rtt' we use
frdm_k64f ad we need a hardware platform that supports 'rtt', and for
the 'usermode' we utilize 'mps2_an385' as we can run in QEMU.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-03-03 09:12:59 -06:00

39 lines
947 B
YAML

sample:
description: A simple application that demonstrate
use of logging feature.
name: logger sample
tests:
sample.logger.basic:
integration_platforms:
- native_posix
tags: logging
harness: console
harness_config:
type: one_line
regex:
- Instance level logging showcase
- Changing filter to warning
- Disabling logging
- Severity levels showcase
- Logging performance showcase
- Logs from external logging system showcase
sample.logger.rtt:
integration_platforms:
- frdm_k64f
tags: logging
filter: CONFIG_HAS_SEGGER_RTT
harness: keyboard
extra_configs:
- CONFIG_LOG_BACKEND_RTT=y
- CONFIG_USE_SEGGER_RTT=y
sample.logger.usermode:
integration_platforms:
- mps2_an385
tags: logging usermode
filter: CONFIG_ARCH_HAS_USERSPACE
harness: keyboard
extra_configs:
- CONFIG_USERSPACE=y