1# SPDX-License-Identifier: Apache-2.0
2
3common:
4  tags: shell
5  platform_allow:
6    - native_sim
7  integration_platforms:
8    - native_sim
9
10tests:
11  shell.device:
12    harness: console
13    harness_config:
14      type: multi_line
15      regex:
16        - "device@0 \\(READY\\)"
17        - "device@1 \\(READY\\)"
18        - "device@2 \\(READY\\)"
19        - "device@3 \\(READY\\)"
20        - "device@4 \\(READY\\)"
21  shell.device_pm_device:
22    extra_configs:
23      - CONFIG_PM_DEVICE=y
24    harness: console
25    harness_config:
26      type: multi_line
27      regex:
28        - "device@0 \\(READY\\)"
29        - "device@1 \\(active\\)"
30        - "device@2 \\(suspended\\)"
31        - "device@3 \\(active\\)"
32        - "device@4 \\(active\\)"
33  shell.device_pm_device_runtime:
34    extra_configs:
35      - CONFIG_PM_DEVICE=y
36      - CONFIG_PM_DEVICE_RUNTIME=y
37    harness: console
38    harness_config:
39      type: multi_line
40      regex:
41        - "device@0 \\(READY\\)"
42        - "device@1 \\(active\\)"
43        - "device@2 \\(suspended\\)"
44        - "device@3 \\(suspended, usage=0\\)"
45        - "device@4 \\(active, usage=1\\)"
46