1sample:
2  name: syst sample
3common:
4  tags:
5    - logging
6    - mipi-sys-t
7  modules:
8    - mipi-sys-t
9  arch_exclude:
10    - mips
11    - nios2
12    - posix
13    - sparc
14tests:
15  sample.logger.syst.deferred:
16    toolchain_exclude: xcc
17    integration_platforms:
18      - mps2/an385
19      - qemu_x86
20    extra_args: EXTRA_CONF_FILE=overlay_deferred.conf
21    harness: console
22    harness_config:
23      type: multi_line
24      regex:
25        - "SYS-T RAW DATA: "
26        - "SYST Sample Execution Completed"
27    # "CONFIG_FULL_LIBC_SUPPORTED" filter was applied
28    # because of following chain of dependencies:
29    # LOG_MIPI_SYST_ENABLE=y --> CONFIG_MIPI_SYST_LIB --> \
30    # --> REQUIRES_FULL_LIBC.
31    #
32    # Not all compillers announced in Zephyr support a full C library
33    filter: CONFIG_FULL_LIBC_SUPPORTED
34    extra_configs:
35      - CONFIG_REQUIRES_FULL_LIBC=y
36  sample.logger.syst.immediate:
37    toolchain_exclude: xcc
38    extra_args: EXTRA_CONF_FILE=overlay_immediate.conf
39    integration_platforms:
40      - qemu_x86
41      - sam_e70_xplained/same70q21
42    harness: console
43    harness_config:
44      type: multi_line
45      regex:
46        - "SYS-T RAW DATA: "
47        - "SYST Sample Execution Completed"
48    filter: CONFIG_FULL_LIBC_SUPPORTED
49    extra_configs:
50      - CONFIG_REQUIRES_FULL_LIBC=y
51  sample.logger.syst.catalog.deferred:
52    toolchain_exclude: xcc
53    extra_args: EXTRA_CONF_FILE=overlay_deferred.conf
54    integration_platforms:
55      - qemu_x86
56      - qemu_x86_64
57    harness: console
58    harness_config:
59      type: one_line
60      regex:
61        - "SYS-T RAW DATA: "
62    extra_configs:
63      - CONFIG_LOG_MIPI_SYST_USE_CATALOG=y
64      - CONFIG_REQUIRES_FULL_LIBC=y
65    filter: CONFIG_FULL_LIBC_SUPPORTED
66  sample.logger.syst.catalog.immediate:
67    toolchain_exclude: xcc
68    integration_platforms:
69      - qemu_x86
70      - qemu_x86_64
71    harness: console
72    harness_config:
73      type: one_line
74      regex:
75        - "SYS-T RAW DATA: "
76    extra_configs:
77      - CONFIG_LOG_MIPI_SYST_USE_CATALOG=y
78      - CONFIG_REQUIRES_FULL_LIBC=y
79    filter: CONFIG_FULL_LIBC_SUPPORTED
80  sample.logger.syst.deferred_cpp:
81    toolchain_exclude: xcc
82    extra_args: EXTRA_CONF_FILE=overlay_deferred.conf
83    integration_platforms:
84      - qemu_x86
85      - qemu_x86_64
86    harness: console
87    harness_config:
88      type: one_line
89      regex:
90        - "SYS-T RAW DATA: "
91    extra_configs:
92      - CONFIG_CPP=y
93      - CONFIG_REQUIRES_FULL_LIBC=y
94    filter: CONFIG_FULL_LIBC_SUPPORTED
95  sample.logger.syst.immediate_cpp:
96    toolchain_exclude: xcc
97    integration_platforms:
98      - mps2/an385
99      - qemu_x86
100    harness: console
101    harness_config:
102      type: one_line
103      regex:
104        - "SYS-T RAW DATA: "
105    extra_configs:
106      - CONFIG_CPP=y
107      - CONFIG_REQUIRES_FULL_LIBC=y
108    filter: CONFIG_FULL_LIBC_SUPPORTED
109  sample.logger.syst.catalog.deferred_cpp:
110    toolchain_exclude: xcc
111    extra_args: EXTRA_CONF_FILE=overlay_deferred.conf
112    integration_platforms:
113      - qemu_x86
114      - qemu_x86_64
115    harness: console
116    harness_config:
117      type: one_line
118      regex:
119        - "SYS-T RAW DATA: "
120    extra_configs:
121      - CONFIG_LOG_MIPI_SYST_USE_CATALOG=y
122      - CONFIG_CPP=y
123      - CONFIG_REQUIRES_FULL_LIBC=y
124    filter: CONFIG_FULL_LIBC_SUPPORTED
125  sample.logger.syst.catalog.immediate_cpp:
126    toolchain_exclude: xcc
127    integration_platforms:
128      - qemu_x86
129      - qemu_x86_64
130    harness: console
131    harness_config:
132      type: one_line
133      regex:
134        - "SYS-T RAW DATA: "
135    extra_configs:
136      - CONFIG_LOG_MIPI_SYST_USE_CATALOG=y
137      - CONFIG_CPP=y
138      - CONFIG_REQUIRES_FULL_LIBC=y
139    filter: CONFIG_FULL_LIBC_SUPPORTED
140