1sample:
2  name: Settings Sample
3
4tests:
5  sample.subsys.settings:
6    tags: settings
7    timeout: 10
8    filter: dt_label_with_parent_compat_enabled("storage_partition", "fixed-partitions")
9    platform_exclude:
10      - qemu_cortex_m0/nrf51822
11    integration_platforms:
12      - native_sim
13    harness: console
14    harness_config:
15      type: multi_line
16      regex:
17        - "subtree <alpha> handler registered: OK"
18        - "# iteration 0"
19        - "[.]*<alpha/length> value exist in the storage"
20        - "[.]*Can\\'t to load the <alpha/length> value as expected"
21        - "<gamma> = 0 \\(default\\)"
22        - "# iteration 1"
23        - "<alpha/length/2> = 59"
24        - "# iteration 2"
25        - "<alpha/length/1> = 42"
26        - "# iteration 3"
27        - "<alpha/beta/voltage> = -3100"
28        - "# iteration 4"
29        - "<alpha/beta/source> = abcd"
30        - "# iteration 5"
31        - "<alpha/angle/1> = 5"
32        - "<alpha/beta/source> is not compatible with the application"
33        - "direct.length = 100"
34        - "direct.length_1 = 46"
35        - "direct.length_2 = 54"
36        - "<gamma> = 5"
37        - "The settings destination off the key <alpha/beta/source> has got value:\
38        \ \"RT\""
39        - "String value \"rtos\" was retrieved from the settings destination off the\
40        \ key <alpha/beta/source>"
41