1common:
2  tags:
3    - test_framework
4    - pytest
5    - shell
6  platform_exclude: qemu_rx
7  filter: CONFIG_SERIAL and not CONFIG_SMP and dt_chosen_enabled("zephyr,shell-uart")
8  extra_configs:
9    - arch:posix:CONFIG_UART_NATIVE_PTY_0_ON_STDINOUT=y
10  min_ram: 40
11  integration_platforms:
12    - native_sim
13    - qemu_cortex_m3
14tests:
15  sample.pytest.shell:
16    harness: pytest
17  sample.pytest.shell.vt100_colors_off:
18    harness: pytest
19    extra_configs:
20      - CONFIG_SHELL_VT100_COLORS=n
21  sample.harness.shell:
22    harness: shell
23    harness_config:
24      shell_commands: &kernel_commands
25        - command: "kernel cycles"
26          expected: "cycles: .* hw cycles"
27        - command: "kernel version"
28          expected: "Zephyr version .*"
29        - command: "kernel sleep 100"
30  sample.harness.shell.vt100_colors_off:
31    harness: shell
32    extra_configs:
33      - CONFIG_SHELL_VT100_COLORS=n
34    harness_config:
35      shell_commands: *kernel_commands
36  sample.pytest.required_app_demo:
37    required_applications:
38      - name: sample.pytest.shell
39      - name: sample.harness.shell
40    harness: pytest
41    harness_config:
42      pytest_root:
43        - "pytest_shared_app/test_shared_app.py"
44