zephyr/samples/subsys/logging/logger/sample.yaml
Alberto Escolar Piedras 886d6a9f1f samples subsys logger: Exclude some subtests from posix arch
Two substests (userspace and rtt) cannot be run in the posix
architecture.
Today they are filtered by kconfig, which works but spends
time running cmake.
As native_posix is a default test platform it is better
to filter it alltogether by arch, which saves quite a lot
of time.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-10-24 09:05:29 +02:00

44 lines
1023 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
arch_exclude:
- posix
harness: keyboard
extra_configs:
- CONFIG_LOG_BACKEND_RTT=y
- CONFIG_USE_SEGGER_RTT=y
sample.logger.usermode:
integration_platforms:
- mps2_an385
arch_exclude:
- posix
tags:
- logging
- usermode
filter: CONFIG_ARCH_HAS_USERSPACE
harness: keyboard
extra_configs:
- CONFIG_USERSPACE=y