zephyr/samples/subsys/shell/shell_module/sample.yaml
Alberto Escolar Piedras e3902cae1d samples: shell: Fix filtering for POSIX arch
One of these samples was filtering all POSIX arch
boards out by explictly listing them by name
(and for the nrf52_bsim by lack of UART).

Instead filter by the architecture.

There is no functional difference in tree with this change.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-05-04 16:48:01 -04:00

51 lines
1.5 KiB
YAML

sample:
name: Shell Sample
tests:
sample.shell.shell_module:
filter: CONFIG_SERIAL and dt_chosen_enabled("zephyr,shell-uart")
tags: shell
harness: keyboard
min_ram: 40
integration_platforms:
- native_posix
sample.shell.shell_module.usb:
depends_on: usb_device
tags: shell usb
harness: keyboard
min_ram: 40
extra_args: OVERLAY_CONFIG="overlay-usb.conf"
DTC_OVERLAY_FILE="usb.overlay"
integration_platforms:
- native_posix
sample.shell.shell_module.minimal:
filter: CONFIG_SERIAL and dt_chosen_enabled("zephyr,shell-uart")
tags: shell
harness: keyboard
extra_args: CONF_FILE="prj_minimal.conf"
integration_platforms:
- native_posix
sample.shell.shell_module.getopt:
integration_platforms:
- qemu_x86
arch_exclude: posix
filter: CONFIG_SERIAL and dt_chosen_enabled("zephyr,shell-uart") and not CONFIG_NEWLIB_LIBC
tags: shell
harness: keyboard
min_ram: 40
extra_args: CONF_FILE="prj_getopt.conf"
sample.shell.shell_module.minimal_rtt:
filter: CONFIG_HAS_SEGGER_RTT
tags: shell
harness: keyboard
extra_args: CONF_FILE="prj_minimal_rtt.conf"
integration_platforms:
- nrf52833dk_nrf52833
sample.shell.shell_module.login:
filter: CONFIG_SERIAL and dt_chosen_enabled("zephyr,shell-uart")
tags: shell
harness: keyboard
min_ram: 40
extra_args: CONF_FILE="prj_login.conf"
integration_platforms:
- native_posix